Re: mis-handling of combining characters

Thomas Dickey <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
On Fri, Aug 11, 2023 at 02:32:36AM +0000, Thorsten Glaser wrote:
> Hi,
> 
> in the attached excerpt, stripped down to almost the minimum to
> experience it, the combining characters in the “Zalgo” part seem
> to be considered as adding to the line width, therefore breaking
> too early:
> 
>    “Ȩ̶̛ņ̶̛Ơ̶̙U̶̡
>    g̵̢H̷̳” Shikamaru entoned with fury. His were
>    black pools that seemed to be dripping, melting.
> 
> 
>    “ I am exacting my
>    V̵̡e̷̢ņ̷̤G̴̨
>    ̺̠ȩ̴̣Ą̶̱N̶̛
>    ̀̓C̴̢E̴̡” Shikamaru, no, the
>    shadows spoke.
> 
> (this time in an 80c-wide xterm at Ian’s special request)
> 
> I would expect (first line possibly justified with extra spaces):

agreed - (reviewing a patch for this would be interesting).

Lynx doesn't do anything with combining characters.
That's done only in ncurses (or slang)

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmTWs7EACgkQzCr0RyFn
vgMhYQwAi2kaMG+OslYX6bbAwKMW40QkD48Xv7Ix6z+FgFwuaHVX5OKsEVH0S+81
MbZH4sCLBst98Gi7ltNcW2rfEgh+0ts26KdJq2C5wEFZE54Aa/T8phOgW6s1GqVJ
4699cqVRGmOaMTuzsYkSEI9BYs5F+UaYFlScwzgopeH4QvOJPEpeQ5PhmciKso9/
vdBCQ4o/iPZkxoYNKMYxAQfuGhmQIT4FuZxHT0D5J+71T3vGEHjzrJFvBkVWAHFI
OE1WzyRGRMCuy0n3RlfHffNvBQNSQB45HT6k52uqOksQ/PSQjuE6/dI5jOk9vji9
ki43aEdDUsO53tN7ufclaAtsgZkIUGoDCqPP+pZ7m6qSs6d4SER4IfjONCFSyjg6
qOQxNEdvcGPhM4NtRhtMStI0Up/1Hd76i+R8MHAqcTccvuTV8cu9gL6Eu+KZ2Wqw
sOHIHhEMlihM+jBfVNgSSGetpf6Gp3Yexe27j0wGzWA3Hq3d33TS7PBKwppexTY1
d6s6J3Yf
=b0l8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.