GNU bug report logs - #17792
24.3; hintstyle specified via fontconfig is ignored by Emacs

Previous Next

Package: emacs;

Reported by: yynyygy <at> gmail.com

Date: Tue, 17 Jun 2014 03:10:02 UTC

Severity: normal

Found in version 24.3

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: yynyygy <at> gmail.com
Cc: 17792 <at> debbugs.gnu.org
Subject: bug#17792: 24.3; hintstyle specified via fontconfig is ignored by Emacs
Date: Thu, 26 Sep 2019 16:10:40 +0200
yynyygy <at> gmail.com writes:

> I've noticed font rendering differences between Emacs and other gtk
> applications like gedit. In short, Emacs ignores hintstyle setting in
> fontconfig. I have hintstyle set to hintslight in
> ~/.config/fontconfig/fonts.conf, but I have to add 'Xft.hintstyle:
> hintslight' in Xresources to get the desired effect.
>
> The strange thing is that while ignoring hintstyle setting, Emacs still
> respect part of fontconfig settings, for example, anti-aliasing setting
> in fonts.conf will affect Emacs's font rendering.
>
> To be more precise, if I disable anti-aliasing in fonts.conf and enable
> it in Xresources, Emacs will not have anti-aliasing; if I have
> hintslight in fonts.conf and hintnone in Xresources, Emacs will use
> hintnone.
>
> I have tested with DejaVu Sans Mono 12 and Ubuntu Mono 13, but clearly
> it is not the fonts' problem.

Is this still an issue now that harfbuzz is enabled by default on the
master branch?

Best regards,
Stefan Kangas




This bug report was last modified 4 years and 342 days ago.

Previous Next


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