bug#81487: problem rendering thai text from a utf8 input file

Keith Hill <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <BY1PR13MB619106AAE7A25B45B5E26D17E9CB2@BY1PR13MB6191.namprd13.prod.outlook.com>
With emacs-31.0.91, invoking it as emacs -Q -nw UTF-8-demo.txt, I don't see any problem rendering Thai text per the UTF-8-demo.txt input file nor with artifacts remaining in the TTY screen after walking through the Thai text area. The problem looks solved.  Thanks for finding and fixing it before I was even aware of the problem.
-----Original Message-----
From: Eli Zaretskii <[email protected]> 
Sent: Monday, July 27, 2026 2:30 PM
To: Keith Hill <[email protected]>
Cc: [email protected]
Subject: Re: bug#81487: problem rendering thai text from a utf8 input file

> From: Keith Hill <[email protected]>
> CC: "[email protected]" <[email protected]>
> Date: Mon, 27 Jul 2026 18:44:28 +0000
> 
> The same problem appears. 
> Invocation setup: prepend C:\msys64\mingw64\bin;C:\emacs\bin; to PATH
> Invocation shell: cmd.exe
> Invocation: emacs -Q -nw UTF-8-demo.txt
> Result: after hitting 5 PgDn keys to reach the bottom of the file, some Thai text now appears in the right side of
> the screen. With each PgUp key, this text appears at the same place in the screen, though it is not present in
> the input file. Attached file thai-render-artifact.png shows what I see at the first point an error could be
> detected, with artifact circled in red. FYI: The executable was built from source code on Jan-13-2026 using
> mingw-W64-mingw32-gcc toolchain, with the ./configure arguments shown in the original email.

Previously, you were talking about alignment of the second column.
Now you are talking only about artifacts.  Is alignment no longer the
problem?

I can indeed reproduce the artifacts in Emacs 30.2, but not in
the latest pretest of what will soon become Emacs 31.1 (where the way
we display on text-only frames was completely redesigned and
reimplemented).  So I think this problem is already solved in the
latest development code.  If you can try the latest pretest (binaries
are available from alpha.gnu.org) or build the emacs-31 branch of the
Emacs Git repository yourself, please try there and tell if you still
see the artifacts.

Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.
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.