all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Yuri D'Elia <wavexx@thregr.org>
Cc: 25147@debbugs.gnu.org
Subject: bug#25147: 25.1; rgba font rendering not honoring fontconfig
Date: Sun, 17 Nov 2019 08:35:00 +0100	[thread overview]
Message-ID: <87imnjc5wb.fsf@gnus.org> (raw)
In-Reply-To: <8760mtqeob.fsf@wavexx.thregr.org> (Yuri D'Elia's message of "Fri, 09 Dec 2016 16:56:36 +0100")

Yuri D'Elia <wavexx@thregr.org> writes:

> To test, remove any X resource (xrdb -remove), and install the following
> fontconfig snippet somewhere in ~/.config/fontconfig/conf.d:
>
> <?xml version="1.0"?>
> <fontconfig>
>   <match target="font">
>     <edit name="hinting" mode="assign">
>       <bool>true</bool>
>     </edit>
>     <edit name="rgba" mode="assign">
>       <const>rgb</const>
>     </edit>
>   </match>
> </fontconfig>

fontconfig on my system didn't seem to want to look in that directory,
so I put it in

/usr/share/fontconfig/conf.avail/09-foo.conf

> Run emacs, and notice how subpixel hinting is not enabled.
> Run with FC_DEBUG=5 set in the env for confirmation that the rgba=rgb is
> in effect.

And it was loaded:

Add Rule(kind:1, name: /usr/share/fontconfig/conf.avail/09-foo.conf) [edit]
        Edit hinting Assign true;
        Edit rgba Assign rgb;

I'm able to reproduce this bug in Emacs 27 -- I should probably get
colour fringing with this setting, but I'm not.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2019-11-17  7:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-09 15:56 bug#25147: 25.1; rgba font rendering not honoring fontconfig Yuri D'Elia
2019-11-17  7:35 ` Lars Ingebrigtsen [this message]

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

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

  git send-email \
    --in-reply-to=87imnjc5wb.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=25147@debbugs.gnu.org \
    --cc=wavexx@thregr.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.