[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54646: 29.0.50; set-fontset-font and font clipping issues
From: |
Visuwesh |
Subject: |
bug#54646: 29.0.50; set-fontset-font and font clipping issues |
Date: |
Sun, 03 Apr 2022 14:45:35 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
[Friday April 01, 2022] Eli Zaretskii wrote:
>> From: Visuwesh <visuweshm@gmail.com>
>> Cc: rpluim@gmail.com, 54646@debbugs.gnu.org
>> Date: Fri, 01 Apr 2022 22:10:54 +0530
>>
>> > WHat is different between the two cases in this data? Does the call
>> > to font->driver->text_extents produce different data in 'metrics',
>> > perhaps? Do the values in pos[i] structure differ? Something else?
>>
>> TBH, I'm not even sure if I am comparing the data for the same set of
>> characters but AFAICT the values don't seem to differ. Is there a way
>> to print the concerned character so I can make better comparisons?
>
> The character codepoints are in the chars[] array, AFAIR.
>
> If the input to HarfBuzz is identical, but the output isn't, it points
> to a HarfBuzz bug.
>
>> I don't think it is of any help but I attached two text files: bad-case
>> and good-case. bad-case has all the data for the clipped text, and
>> good-case for the non-clipped text (for the same font size, at least I
>> hope so...).
>
> It's hard to understand what you printed out, or where is the
> difference. It is best to print only the data for the characters for
> which you see display problems, because all the rest is just clutter.
> And in any case, please print the character with the data, otherwise
> it is impossible to know what to compare.
I used the %c printf format control to print the character in
question---chars[char_idx]. comment-section-good is the "good" case and
comment-section-bad is the "bad" case. The URL I browsed in eww is
https://www.dinamalar.com/news_detail.asp?id=2998931 (isearch for
"Suppon" to get to the comment section). Unfortunately, all the
characters are in raw bytes so if there's a better to print the
characters, please let me know.
[ "# .*" in the last line are just markers I used. ]
comment-section-bad
Description: "Bad" case
comment-section-good
Description: "Good" case
- bug#54646: 29.0.50; set-fontset-font and font clipping issues, Robert Pluim, 2022/04/01
- bug#54646: 29.0.50; set-fontset-font and font clipping issues, Visuwesh, 2022/04/01
- bug#54646: 29.0.50; set-fontset-font and font clipping issues, Eli Zaretskii, 2022/04/01
- bug#54646: 29.0.50; set-fontset-font and font clipping issues, Visuwesh, 2022/04/01
- bug#54646: 29.0.50; set-fontset-font and font clipping issues, Eli Zaretskii, 2022/04/01
- bug#54646: 29.0.50; set-fontset-font and font clipping issues,
Visuwesh <=
- bug#54646: 29.0.50; set-fontset-font and font clipping issues, Eli Zaretskii, 2022/04/03
- bug#54646: 29.0.50; set-fontset-font and font clipping issues, Visuwesh, 2022/04/03
- bug#54646: 29.0.50; set-fontset-font and font clipping issues, Eli Zaretskii, 2022/04/03
- bug#54646: 29.0.50; set-fontset-font and font clipping issues, Visuwesh, 2022/04/03
- bug#54646: 29.0.50; set-fontset-font and font clipping issues, Visuwesh, 2022/04/21
- bug#54646: 29.0.50; set-fontset-font and font clipping issues, Eli Zaretskii, 2022/04/22
- bug#54646: 29.0.50; set-fontset-font and font clipping issues, Visuwesh, 2022/04/22
- bug#54646: 29.0.50; set-fontset-font and font clipping issues, Eli Zaretskii, 2022/04/22