Gentoo Archives: gentoo-user

From: Nilesh Govindrajan <me@××××××××.com>
To: Gentoo User Mailing List <gentoo-user@l.g.o>
Subject: [gentoo-user] Robot Font
Date: Fri, 15 Feb 2013 09:27:28
Message-Id: 511DFF70.5090309@nileshgr.com
1 Hi,
2
3 I installed media-fonts/roboto from asux overlay and configured
4 /etc/fonts/local.conf as follows:
5
6 <?xml version="1.0"?>
7 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
8 <fontconfig>
9 <match target="font">
10 <edit mode="assign" name="hinting">
11 <bool>true</bool>
12 </edit>
13 </match>
14 <match target="font">
15 <edit mode="assign" name="hintstyle">
16 <const>hintslight</const>
17 </edit>
18 </match>
19 <match target="font">
20 <edit mode="assign" name="antialias">
21 <bool>true</bool>
22 </edit>
23 </match>
24 <match target="font">
25 <test qual="any" name="size" compare="less">
26 <double>9.0</double>
27 </test>
28 <edit name="size" mode="assign">
29 <double>9.0</double>
30 </edit>
31 </match>
32 <match target="font">
33 <test qual="any" name="size" compare="less">
34 <double>10.0</double>
35 </test>
36 <test qual="any" name="family">
37 <string>monospace</string>
38 </test>
39 <edit name="size" mode="assign">
40 <double>10.0</double>
41 </edit>
42 </match>
43 <alias>
44 <family>serif</family>
45 <default>
46 <family>Roboto</family>
47 </default>
48 </alias>
49 <alias>
50 <family>sans-serif</family>
51 <default>
52 <family>Roboto</family>
53 </default>
54 </alias>
55 <alias>
56 <family>monospace</family>
57 <default>
58 <family>Monaco</family>
59 </default>
60 </alias>
61 </fontconfig>
62
63 And these are the symlinks in /etc/fonts/conf.d -
64 10-autohint.conf 10-sub-pixel-rgb.conf 11-lcdfilter-default.conf
65 49-sansserif.conf 50-user.conf 51-local.conf 66-lohit-hindi.conf
66 66-lohit-marathi.conf
67
68 But I'm facing a weird issue with the Roboto font. It matches by default
69 to Roboto Medium, but I don't want that. Titlebar, Menubar and Toolbar
70 texts look bold. Even the mail list in Thunderbird looks bold so I can't
71 distinguish between read and unread mail easily.
72
73 $ fc-match Roboto
74 Roboto-Medium.ttf: "Roboto" "Medium"
75
76 How to fix this? There are no user configuration files and I have
77 configured KDE to use default system settings (sansserif, monospace
78 families).
79
80 --
81 Nilesh Govindarajan
82 http://nileshgr.com

Replies

Subject Author
[gentoo-user] Re: Robot Font Nilesh Govindrajan <me@××××××××.com>