* [gentoo-user] Robot Font
@ 2013-02-15 9:27 Nilesh Govindrajan
2013-02-16 14:25 ` [gentoo-user] " Nilesh Govindrajan
0 siblings, 1 reply; 2+ messages in thread
From: Nilesh Govindrajan @ 2013-02-15 9:27 UTC (permalink / raw
To: Gentoo User Mailing List
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-user] Re: Robot Font
2013-02-15 9:27 [gentoo-user] Robot Font Nilesh Govindrajan
@ 2013-02-16 14:25 ` Nilesh Govindrajan
0 siblings, 0 replies; 2+ messages in thread
From: Nilesh Govindrajan @ 2013-02-16 14:25 UTC (permalink / raw
To: Gentoo User Mailing List
On Friday 15 February 2013 02:57:12 PM IST, Nilesh Govindrajan wrote:
> 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).
>
Solution -
<selectfont>
<rejectfont>
<pattern>
<patelt name="family"><string>Roboto
Lt</string></patelt>
<patelt
name="weight"><int>100</int></patelt>
</pattern>
<pattern>
<patelt name="family"><string>Roboto
Bk</string></patelt>
</pattern>
</rejectfont>
</selectfont>
--
Nilesh Govindarajan
http://nileshgr.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-16 14:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-15 9:27 [gentoo-user] Robot Font Nilesh Govindrajan
2013-02-16 14:25 ` [gentoo-user] " Nilesh Govindrajan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox