You are not logged in.

#1 2010-04-03 08:23:54

shivawu
Member
Registered: 2010-04-03
Posts: 3

An tricky problem with font substitution in KDE

Hey, guys. I've got into an annoying problem.
I want to use some more pretty fonts instead of the default ones.

Here is my local.conf file.

<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
        <alias>
                <family>serif</family>
                <prefer>
                        <family>DejaVu Sans</family>
                </prefer>
        </alias>
        <alias>
                <family>sans-serif</family>
                <prefer>
                        <family>DejaVu Sans</family>
                </prefer>
        </alias>

        <match target="font">
                <edit name="antialias" mode="assign">
                        <bool>true</bool>
                </edit>
                <edit name="autohint" mode="assign">
                        <bool>false</bool>
                </edit>
                <edit name="hinting" mode="assign">
                        <bool>false</bool>
                </edit>
                <edit name="hintstyle" mode="assign">
                        <const>hintfull</const>
                </edit>
                <edit name="rgba" mode="assign">
                        <const>none</const>
                </edit>
        </match>
</fontconfig>

The antialias part seems to be OK(not really, but whatever),
but the alias part does not work at all!
I have a second arch installed on another computer and it works fine, all the .conf files are all the same.
The only difference is that the working one is under openbox,
and the other is using KDE, and the font configuring in KDE seems to conflict with the .conf files.

I've been working on this for several hours.:(
Do you know how to resolve this?:rolleyes:

Offline

Board footer

Powered by FluxBB