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

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

bug#73730: 31.0.50; Support for color fonts on MS-Windows


From: Cecilio Pardo
Subject: bug#73730: 31.0.50; Support for color fonts on MS-Windows
Date: Sat, 26 Oct 2024 22:13:57 +0200
User-agent: Mozilla Thunderbird



Thanks, I will review this shortly.  Meanwhile, could you please look
at how Emacs with this patch displays some complex Emoji sequences?
Some of them look incorrect to me.  For example, this sequence from
admin/unidata/emoji-zwj-sequences.txt:

    1F469 200D 1F469 200D 1F467 200D 1F466      ; RGI_Emoji_ZWJ_Sequence  ; 
family: woman, woman, girl, boy                                # E2.0   [1] 
(๐Ÿ‘ฉโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ)

when displayed using Segoe UI Emoji, is shown with the "boy" part
overlapping the closing parenthesis, which looks incorrect to me.
"C-u C-x =" claims all of the codepoints of the sequence were composed
into a single grapheme cluster, but it doesn't look like that on
display, and the cursor doesn't include the "boy" part.

I dont's see that, but I do see that the individual glyphs are truncated
on the left side, even when removing color rendering.  Do you see
it?

Yes.

I will investigate this first, in case the defects are related.

This patch fixes the left side glyph truncation, which happens when glyphs have negative left bearing.

About the problem you reported, I can't reproduce when building for 64bit. It does show when building with mingw32 for 32bit. It also shows when building version 30.0.92. Maybe is the Harfbuzz version? I have 2.4.0 for this build.




Attachment: 0001-Fix-problem-with-DirectWrite-MS-Windows.patch
Description: Text document


reply via email to

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