GNU bug report logs - #20628
25.0.50; Incorrect line height for some fonts

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Fri, 22 May 2015 03:03:02 UTC

Severity: normal

Found in version 25.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 20628 <at> debbugs.gnu.org (full text, mbox):

From: Oleh Krehel <ohwoeowho <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: clement.pitclaudel <at> live.com, 20628 <at> debbugs.gnu.org
Subject: Re: bug#20628: 25.0.50; Incorrect line height for some fonts
Date: Fri, 22 May 2015 15:54:21 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Oleh Krehel <ohwoeowho <at> gmail.com>
>> Cc: clement.pitclaudel <at> live.com,  20628 <at> debbugs.gnu.org
>> Date: Fri, 22 May 2015 15:15:45 +0200
>> 
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>> 
>> > Btw, in the version of DejaVu Sans Mono I just downloaded from their
>> > site doesn't cover the U+01D779 character.
>> 
>> It appears to re-use the system fixed width font (Ubuntu Mono 13) in
>> case the selected font (DejaVu Sans Mono) doesn't support a char.
>
> So that means the problem is not with DejaVu Sans Mono, it's with the
> fallback font, right?

Right.

I'm looking at xdisp.c now. When I set this:

    it->max_ascent = 0;
    it->max_descent = 0;

the problem disappears. Of course, it causes a problem in places where
ascent and descent are actually used, like for displaying images. I just
need to figure out how it->max_ascent gets computed from glyph->descent.




This bug report was last modified 9 years and 356 days ago.

Previous Next


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