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 #95 received at 20628 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Oleh Krehel <ohwoeowho <at> gmail.com>
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 21:15:51 +0300
> From: Oleh Krehel <ohwoeowho <at> gmail.com>
> Cc: clement.pitclaudel <at> live.com,  20628 <at> debbugs.gnu.org
> Date: Fri, 22 May 2015 18:33:43 +0200
> 
> > Math fonts are notorious for requesting huge ascent and descent
> > values.  I always disable them using fontsets.
> 
> Can you explain what are fontsets

Type "i fontset RET" in the ELisp manual and "i fontsets RET" in the
Emacs User manual, and you will be able to read about that.  The
latter includes (in the section next to the one where the above
command lands you) several examples of how to set up your fontset to
display certain ranges of characters with specific fonts.

> and how to use the to disable ascent/descent in math?

You cannot disable that.  What you can do is find a font that covers
the same range of characters, but does not specify such huge ascend
and descent values.

> Is it possible for Emacs to do so by default?

You mean, have the default fontset set up to avoid the problem?  The
difficulty with that is that the fonts we'd need to put into the
default fontset are not free, and there's an understandable reluctance
to advertise them.

> maybe Emacs could fix the problem specifically for this file / font
> family. That's what gedit does, I guess.

It would be nice if someone could look at gedit sources and describe
what it does to avoid the problem.  Finding such a solution is what
this discussion is all about, no?




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.