unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: yynyygy@gmail.com
Cc: 17792@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	[thread overview]
Message-ID: <CADwFkmmZmuPnfP+uUgDLVzifNU917fDaVsJTNO=jXt2JRh0TOw@mail.gmail.com> (raw)
In-Reply-To: <874mzki66x.fsf@gentoo.i-did-not-set--mail-host-address--so-tickle-me>

yynyygy@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





  parent reply	other threads:[~2019-09-26 14:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <53A70B0B.3050300@swipnet.se>
2014-06-17  3:08 ` bug#17792: 24.3; hintstyle specified via fontconfig is ignored by Emacs yynyygy
2014-06-17 15:28   ` Jan Djärv
2014-06-18  4:44     ` Fangwen Yu
2014-06-22 20:54   ` bug#17792: 24.3; hintstyle spewcified " Jan Djärv
2014-06-24 22:01     ` James Cloos
2014-06-25  8:32       ` Jan Djärv
2019-09-26 14:10   ` Stefan Kangas [this message]
2020-08-12 18:50     ` bug#17792: 24.3; hintstyle specified " Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmmZmuPnfP+uUgDLVzifNU917fDaVsJTNO=jXt2JRh0TOw@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=17792@debbugs.gnu.org \
    --cc=yynyygy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).