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


View this message in rfc822 format

From: Werner LEMBERG <wl <at> gnu.org>
To: eliz <at> gnu.org
Cc: clement.pitclaudel <at> live.com, ohwoeowho <at> gmail.com, 20628 <at> debbugs.gnu.org
Subject: bug#20628: 25.0.50; Incorrect line height for some fonts
Date: Wed, 03 Jun 2015 11:44:17 +0200 (CEST)
> The relevant place in the display engine where these factors are
> taken into consideration is around line 26388 in xdisp.c, [...]

I'm completely lost in this huuuge file.

> The change we look for should:
> 
>   . set the initial values for it->ascent and it->descent using some
>     heuristics based on pixel_size of the default face's font;

Where are the initial values set?

>   . update it->ascent and it->descent based on ascent/descent values
>     returned by get_per_char_metric in the per-character metrics
>     data

I think this already happens, right?  At least the line height
increases on my GNU/Linux version of Emacs if I use a font with larger
ascent/descent values...  So no additional action is needed for this,
it seems.


    Werner




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.