GNU bug report logs - #22207
emacs-25 mishandles info code text on Fedora 23

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Fri, 18 Dec 2015 18:26:02 UTC

Severity: normal

Found in version 24.4

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Wolfgang Jenkner <wjenkner <at> inode.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: eggert <at> cs.ucla.edu, 22207 <at> debbugs.gnu.org
Subject: bug#22207: emacs-25 mishandles info code text on Fedora 23
Date: Sat, 19 Dec 2015 16:28:19 +0100
On Sat, Dec 19 2015, Eli Zaretskii wrote:

>> >> fc-match "Monospace"
>> >
>> > How will that help?  Someone, somewhere will still dislike the result.
>> 
>> Mono(space) is a fontconfig alias, it's explicitly selected in
>> a configuration file[*] and users are supposed to override it if they don't
>> like it.
>
> That means an even more complex mess: suppose Emacs will use some
> fixed-pitch font from that alias, and the user doesn't like it -- now
> the user will have to be familiar not only with font specs for
> customizing faces, but also with the fontconfig customizations and
> configuration files.  Doesn't strike me as a particularly
> user-friendly feature.

fc-match returns a single match.  Also, emacs does know about fontconfig
aliases (info "(emacs) Fonts").  The problem is that specifying an alias
name as the family attribute doesn't always work as expected (because
emacs font selection weighs font attributes in a different way).

For example, on my system

$ fc-match Serif
NotoSerif-Regular.ttf: "Noto Serif" "Regular"
$ 

However, if I customize the Info-quoted face replacing "courier" by
"Serif" I get

xft:-unknown-Sawasdee-normal-normal-normal-*-13-*-*-*-*-0-iso10646-1

Not a big problem, but just to elaborate a bit on Glenn's suggestion.




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

Previous Next


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