[Top][All Lists]

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

bug#20628: 25.0.50; Incorrect line height for some fonts

From: Oleh Krehel
Subject: bug#20628: 25.0.50; Incorrect line height for some fonts
Date: Fri, 22 May 2015 18:15:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Oleh Krehel <address@hidden>
>> Cc: address@hidden,  address@hidden
>> Date: Fri, 22 May 2015 18:05:25 +0200
>> Eli Zaretskii <address@hidden> writes:
>> > Is your build optimized, per chance?  It works for me, FWIW.
>> How do I set it to non-optimized?
> Reconfigure like this:
>   CFLAGS='-O0 -g3' ./configure ...
> and then re-run "make".

Thanks, I'll try that.

>> So far I've tracked the bug to xftfont_open, where instead of the
>> usual
>>     font ascent: 14, descent: 5
>> I get for the 120755 char:
>>     font ascent: 54, descent: 46
> How is this strange character displayed, eventually?  Is it displayed
> as a character or as a box with its hex code?

It's displayed just the way gedit displays it, only with a huge (3 line
height) ascent and a huge (3 line height) descent. So the line with the
char is effectively 7 times taller than a regular line.

Also, I've tracked the font family of the char to be "Latin Modern
Mathfont" in xftfont_open.

reply via email to

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