Bug 861054 - $HOME/.config/fontconfig/fonts.conf ignored
Summary: $HOME/.config/fontconfig/fonts.conf ignored
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fontconfig
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-27 12:29 UTC by Marcus Moeller
Modified: 2012-10-10 03:07 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-10 03:07:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marcus Moeller 2012-09-27 12:29:06 UTC
I have created a fonts.conf configuration file $HOME/.config/fontconfig/fonts.conf with the following content:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
       <match target="font" >
              <edit mode="assign" name="rgba" >
                     <const>none</const>
              </edit>
       </match>
       <match target="font" >
              <edit mode="assign" name="hinting">
                     <bool>true</bool>
              </edit>
       </match>
       <match target="font" >
               <edit mode="assign" name="hintstyle">
               <const>hintfull</const>
               </edit>
       </match> 	
</fontconfig>


According to xrdb -q (after re-login) the following values are set:

Xft.dpi:	96
Xft.hinting:	true
Xft.hintstyle:	hintmedium

So the config seems to be ignored.

Comment 1 Akira TAGOH 2012-09-28 02:12:34 UTC
fontconfig itself doesn't apply own config to X resources. try fc-match -v and see those values are applied there. given that it's a bug, I have no idea who is responsible.

Comment 2 Marcus Moeller 2012-09-28 06:58:25 UTC
Yes fc-match -v lists the correct settings. So do you have any ideas why they are not applied to X resources?

Comment 3 Akira TAGOH 2012-09-28 07:50:47 UTC
At least I can see hardcoding X resources in /etc/X11/Xresources. again, I have no idea who is responsible to _update_. anyway, it's not a bug for fontconfig. if you are not sure where this should be reassigned to, I'll close this.

Comment 4 Akira TAGOH 2012-10-10 03:07:12 UTC
Please reopen and correct the component if you see who's responsible to update Xresources for that.


Note You need to log in before you can comment on or make changes to this bug.