[Fontconfig] Per application settings in .fonts.conf?

Akira TAGOH akira at tagoh.org
Mon Dec 10 22:18:43 PST 2012


There are APIs to support the application specific fontconfig files
but it wouldn't be .fonts.conf or fonts.conf under XDG dir. in other
words, it depends on the application. if they don't use those APIs,
the answer is NO.

HTH,

On Tue, Dec 11, 2012 at 9:26 AM, Wendell P <wendellp at operamail.com> wrote:
>
> You can make application-specific settings in ~/.Xresources with syntax
> like:
>
> xterm*background: #FFFFFF
> xterm*foreground: #000000
> xterm*font: <some font>
>
> Is it possible to make settings for specific applications in
> ~/.fonts.conf? If so, what is the syntax? For example, how would I
> change this to apply only to a specific app?
>
> <?xml version='1.0'?>
> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
> <fontconfig>
>   <match target="font">
>     <edit mode="assign" name="antialias"><bool>false</bool></edit>
>   </match>
> </fontconfig>
>
> --
> http://www.fastmail.fm - Email service worth paying for. Try it for free
>
> _______________________________________________
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH


More information about the Fontconfig mailing list