GNU bug report logs - #17739
24.3; Dotted circle does not combine with Thai vowel markers

Previous Next

Package: emacs;

Reported by: Brady Garvin <bgarvin <at> acm.org>

Date: Sun, 8 Jun 2014 17:55:02 UTC

Severity: normal

Found in version 24.3

Full log


View this message in rfc822 format

From: Brady Garvin <bgarvin <at> cse.unl.edu>
To: 17739 <at> debbugs.gnu.org
Subject: bug#17739: 24.3; Dotted circle does not combine with Thai vowel markers
Date: Sun, 8 Jun 2014 22:17:49 -0500 (CDT)
[Message part 1 (text/plain, inline)]
>
> Check out the character composition rules in thai-util.el, perhaps
> something is missing there.
>

Thanks for the pointer.  With

58c58,59
< (let ((l '((?ก consonant "LETTER KO KAI")				; 0xA1
---
> (let ((l '((?◌ consonant "DOTTED CIRCLE")
> 	   (?ก consonant "LETTER KO KAI")				; 0xA1

and a reevaluation of the relevant s-expression, thai-compose-region
and thai-compose-buffer give me almost correct results for that test
case.  The vowel does combine, but renders oddly:

When the cursor is over the dotted circle, the vowel, which should
appear roughly centered above, is shown above and to the left.

When the cursor is just to the right of the dotted circle, the vowel
is shown in the same place, but the character to the left of the
dotted circle is occluded by another dotted circle.

When the cursor is just to the left of the dotted circle, the vowel is
shown above and to the right.

When the cursor is elsewhere, the rendering is unchanged from its most
recent state.

Perhaps that's a separate issue?

This bug report was last modified 5 years and 267 days ago.

Previous Next


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