GNU bug report logs - #19347
24.4.50; Display of bengali text

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Thu, 11 Dec 2014 12:57:01 UTC

Severity: normal

Found in version 24.4.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #104 received at 19347 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: rms <at> gnu.org, Kenichi Handa <handa <at> gnu.org>
Cc: schwab <at> suse.de, 19347 <at> debbugs.gnu.org
Subject: Re: bug#19347: 24.4.50; Display of bengali text
Date: Mon, 29 Dec 2014 21:00:59 +0200
Added Handa-san, as this seems to be some subtle issue with composed
characters.

The beginning of this thread is here:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19347

The files Richard sent are here:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19347#101

> Date: Sat, 27 Dec 2014 17:55:42 -0500
> From: Richard Stallman <rms <at> gnu.org>
> CC: schwab <at> suse.de, 19347 <at> debbugs.gnu.org
> 
> enabled.out is output with Auto-Composition mode enabled.
> disabled.out is output with Auto-Composition mode disabled.  They
> don't correspond to the same commands, but they both display the same
> buffer.  With Auto-Composition mode enabled, the screen was messed up.
> With Auto-Composition mode disabled, display was correct.

The difference is the character whose codepoint is 0x09C1.  This
character's general category is "non-spacing mark".  When
Auto-Composition mode is disabled, we compute the width of this
character as zero, and don't add it to the glyph row, so it doesn't
get written to the terminal.  When Auto-Composition mode is enabled,
we compose this character with the preceding one, and send them both
to the terminal.

More importantly, it looks like, when a TTY frame displays on a
terminal in a UTF-8 locale, we send composed characters to the
terminal, and I'm not sure text-mode terminals and/or our TTY display
code are ready for that.  For example, moving the cursor seems to send
only part of the composition sequence to the screen, which produces
garbled display.

Should we disable (or bypass) Auto-Composition mode on TTY frames?




This bug report was last modified 3 years and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.