GNU bug report logs - #25216
26.0.50 [regression]; Curly quotes are not found in some sizes of ‘Terminus’ font

Previous Next

Package: emacs;

Reported by: Dmitry Alexandrov <321942 <at> gmail.com>

Date: Sat, 17 Dec 2016 01:04:02 UTC

Severity: normal

Tags: moreinfo

Found in version 26.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Alexandrov <321942 <at> gmail.com>
Cc: 25216 <at> debbugs.gnu.org
Subject: Re: bug#25216: 26.0.50 [regression]; Curly quotes are not found in
 some sizes of ‘Terminus’ font
Date: Sat, 31 Dec 2016 10:57:30 +0200
> From: Dmitry Alexandrov <321942 <at> gmail.com>
> Cc: 25216 <at> debbugs.gnu.org
> Date: Sat, 31 Dec 2016 08:56:21 +0300
> 
> >> > And I still don't understand why you need that.  AFAICS, Emacs
> >> > explicitly tries to use the default font for punctuation and symbol
> >> > characters before falling back on looking up other fonts.
> >> 
> >> Do you mean that you could not reproduce this?
> >
> > It means I don't understand how it could happen.  The function
> > face_for_char (defined in fontset.c) explicitly tries the current
> > default font for any punctuation and symbol character, before it
> > starts looking in other fonts.  I don't understand why this fails for
> > you, and only in certain font sizes on top of that.  Perhaps you could
> > step through that code with a debugger and see what happens there?
> 
> Well.  font_has_char of font.c:2989 returns 0 ← xftfont_has_char of xftfont.c:532 returns 0 ← XftCharExists of libXft.so.2 returns 0.
> 
> So the problem goes into libxft2.

Thanks for digging into this.  So in this case libxft2 says that
character is not available, whereas in fact it is?  Or did I
misunderstand?




This bug report was last modified 5 years and 236 days ago.

Previous Next


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