GNU bug report logs -
#18077
24.4.50; Info-quoted face should inherit default
Previous Next
Reported by: swiesner <at> lunaryorn.com
Date: Tue, 22 Jul 2014 08:17:01 UTC
Severity: minor
Found in version 24.4.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
[Message part 1 (text/plain, inline)]
Your bug report
#18077: 24.4.50; Info-quoted face should inherit default
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 18077 <at> debbugs.gnu.org.
--
18077: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18077
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Sat, 3 Apr 2021 18:58:37 -0500
> Cc: 18077 <at> debbugs.gnu.org, Sebastian Wiesner <swiesner <at> lunaryorn.com>
>
> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
> >> For `info-quoted' we could use the same font families as e.g.
> >> StackOverflow uses for code blocks:
> >
> > It's probably a good source of inspiration, but we have to take into
> > account that the font of the "normal text" is usually proportional in
> > stackoverflow, whereas it's usually monospaced in Emacs.
>
> Is this now fixed by this commit, or is there more to do here?
>
> Author: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Fri May 13 13:30:33 2016 -0700
>
> Improve display of tex-verbatim and Info quoted
I think that commit changed things sufficiently to consider the issue
closed, and any further issues with what we use nowadays should be
submitted as a new bug report with updated facts and complaints.
Closing.
[Message part 3 (message/rfc822, inline)]
Currently, the `Info-quoted' face is defined as follows in info.el:
(defface Info-quoted
'((t :family "courier"))
"Face used for quoted elements.")
I do no think that mode faces should *hard-code* specific font families,
and thus bypass any customization of the default face that the user
might have made to pick their preferred font.
Besides, courier is not a particularly friendly choice. There is no
specific font with that name. The actual font depends on the font
configuration and aliasing picked by the OS and the user, and depending
on the quality of this configuration the appearance of this font varies
greatly. If the configuration is particularly poor, or if a proper
substitute font is missing, Emacs might even fall back to X11 bitmap
fonts, which are particularly ugly on modern screens.
So just because it's pretty on your screen, it doesn't need to be pretty
on some else's screen.
Please remove the hard-coded font family and inherit from the default
face instead.
This bug report was last modified 4 years and 47 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.