Hi,

I installed media-fonts/roboto from asux overlay and configured
/etc/fonts/local.conf as follows:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
        <match target="font">
                <edit mode="assign" name="hinting">
                        <bool>true</bool>
                </edit>
        </match>
        <match target="font">
                <edit mode="assign" name="hintstyle">
                        <const>hintslight</const>
                </edit>
        </match>
        <match target="font">
                <edit mode="assign" name="antialias">
                        <bool>true</bool>
                </edit>
        </match>
        <match target="font">
                <test qual="any" name="size" compare="less">
                        <double>9.0</double>
                </test>
                <edit name="size" mode="assign">
                        <double>9.0</double>
                </edit>
        </match>
        <match target="font">
                <test qual="any" name="size" compare="less">
                        <double>10.0</double>
                </test>
                <test qual="any" name="family">
                        <string>monospace</string>
                </test>
                <edit name="size" mode="assign">
                        <double>10.0</double>
                </edit>
        </match>
        <alias>
                <family>serif</family>
                <default>
                        <family>Roboto</family>
                </default>
        </alias>
        <alias>
                <family>sans-serif</family>
                <default>
                        <family>Roboto</family>
                </default>
        </alias>
        <alias>
                <family>monospace</family>
                <default>
                        <family>Monaco</family>
                </default>
        </alias>
</fontconfig>

And these are the symlinks in /etc/fonts/conf.d -
10-autohint.conf  10-sub-pixel-rgb.conf  11-lcdfilter-default.conf
49-sansserif.conf  50-user.conf  51-local.conf  66-lohit-hindi.conf
66-lohit-marathi.conf

But I'm facing a weird issue with the Roboto font. It matches by default
to Roboto Medium, but I don't want that. Titlebar, Menubar and Toolbar
texts look bold. Even the mail list in Thunderbird looks bold so I can't
distinguish between read and unread mail easily.

$ fc-match Roboto
Roboto-Medium.ttf: "Roboto" "Medium"

How to fix this? There are no user configuration files and I have
configured KDE to use default system settings (sansserif, monospace
families).

-- 
Nilesh Govindarajan
http://nileshgr.com

Reply via email to