Subject: 26.0.50 [regression]; Curly quotes are not found in some sizes of‘Terminus’ font
From: Dmitry Alexandrov <[email-masked]>
To: [email-masked]
Date: Sat, 17 Dec 2016 04:03:07 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

GNU Emacs 26.0.50.1 (x86_64-unknown-linux-gnu)
Repository revision: 6bf83218314db1c63ce34564edfb994d9431b28a
Debian GNU/Linux 8.6 Jessie
xfonts-terminus 4.40-2 as shipped in Debian

Steps to reproduce:

   $ emacs --quick --font '-*-terminus-medium-r-*-*-20-*-*-*-*-*-*-*'

Find some document with curly quotes: ‘’ and “”.  GNU Emacs Manual (‘<f1> r’) uses them heavily, for instance.

It looks wrong:

‘C-u C-x =’ says that instead of Terminus ‘x:-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1’ font is used for rendering quotes.  When I request 24th size, I got yet another font — ‘x:-efont-fixed-medium-r-normal--24-240-75-75-c-240-iso10646-1’.

In a strange way there is no such a problem with some other sizes:

   $ emacs --quick --font '-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*'

is okay, for example.  ‘C-u C-x =’ says that ‘xft:-xos4-Terminus-normal-normal-normal-*-16-*-*-*-c-80-iso10646-1’ is used in that case.

The reason is *not* that Terminus just does not have these glyphs — it does.  Moreover — GNU Emacs 24.4.1 finds and renders them correctly:

   $ emacs24 --quick --font '-*-terminus-medium-r-*-*-20-*-*-*-*-*-*-*'