You are not logged in.

#1 2012-02-01 14:05:04

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

[SOLVED] ~/.fonts.conf not working

I tried using this in my ~/.fonts.conf:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <!-- reject all bitmap fonts, with the exception of 'terminus' -->
    <selectfont>
        <acceptfont>
            <pattern>
                <patelt name="family"> <string>Terminus</string> </patelt>
            </pattern>
        </acceptfont>
        <rejectfont>
            <pattern>
                <patelt name="scalable"> <bool>false</bool> </patelt>
            </pattern>
        </rejectfont>
    </selectfont>
</fontconfig>

But it didn't seem to do anything; however, if I put it in a file inside /etc/fonts/conf.d then it works. I made sure to logout/reboot but it made no difference. The permissions on the file seem ok too:

-rw-r--r--  1 kevin users  518 Feb  1 05:25 .fonts.conf

Any ideas?

Last edited by anonymous_user (2012-02-01 20:29:04)

Offline

#2 2012-02-01 14:22:12

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] ~/.fonts.conf not working

I believe ~/.fonts.conf isn't loaded automatically if you don't have a symlink to it from /etc/fonts/conf.d/

(someone please correct me if i'm wrong)


ᶘ ᵒᴥᵒᶅ

Offline

#3 2012-02-01 15:58:53

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: [SOLVED] ~/.fonts.conf not working

Yes it's:

50-user.conf -> ../conf.avail/50-user.conf

in /etc/fonts/conf.d/

Offline

#4 2012-02-01 20:28:52

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] ~/.fonts.conf not working

Thanks; it works now. BTW when was this change introduced?

Offline

Board footer

Powered by FluxBB