bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15273: 24.3.50; Combining character sequences are displayed weirdly


From: Eli Zaretskii
Subject: bug#15273: 24.3.50; Combining character sequences are displayed weirdly
Date: Fri, 06 Sep 2013 10:32:54 +0300

> From: Andreas Schwab <address@hidden>
> Cc: Jan Djärv <address@hidden>,  address@hidden,
>   address@hidden
> Date: Fri, 06 Sep 2013 08:42:23 +0200
> 
> Eli Zaretskii <address@hidden> writes:
> 
> > Character composition in Emacs can happen in 1 of 2 ways:
> >
> >  . The font driver tells Emacs to compose several characters into a
> >    single grapheme cluster, by drawing all of them as a single unit,
> >    and by drawing the 2nd, 3rd, etc. character glyphs at certain pixel
> >    offsets relative to the base glyph.
> >
> >  . Emacs itself has composition rules for 2 or more characters; in
> >    this case, the same pixel offsets come from those rules.
> 
> The first way can only work if both characters are coming from the same
> font.

Yes.

> Not sure if that is also true for the second way, but I'd guess yes.

I'm not sure, either.  The second way happens when we generate the
glyph matrices -- do we select font before or after that?  If after,
we probably look for a font that supports all of the characters in the
composition.  Perhaps Handa-san could comment on this.

But, at least in my testing, I used a font that definitely supports
both characters, and the composition still didn't happen.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]