Version 2 (modified by 17 years ago) ( diff ) | ,
---|
X Window System Components
Fonts
Arphic fonts look blurry at small sizes. The FireFly font can be configured to look sharper due to the use of the optimized embedded bitmaps present in this font (but Fontconfig doesn't use them by default).
First, teach Fontconfig to prefer this font as a candidate for Monospace and other generic aliases:
sed -i -e 's,^\(\t\t\t<family>Kochi.*\)$$,\1\n\t\t\t<family>AR PL New Sung</family>,' \ /etc/fonts/fonts.conf
Then, tell Fontconfig to use the embedded bitmaps for font sizes that really have such bitmaps, by adding this to /etc/fonts/local.conf or fonts.conf:
<match target="font"> <test name="family"> <string>AR PL New Sung</string> </test> <test name="pixelsize" compare="less_eq"> <double>16.0</double> </test> <test name="pixelsize" compare="more_eq"> <double>11.0</double> </test> <edit name="antialias" mode="assign"> <bool>false</bool> </edit> </match>
Attachments (11)
- cs_CZ.UTF-8-wrong.png (4.9 KB ) - added by 17 years ago.
- el_GR.UTF-8-wrong.png (5.5 KB ) - added by 17 years ago.
- ru_RU.UTF-8-wrong.png (5.2 KB ) - added by 17 years ago.
- cs_CZ-reference.png (5.0 KB ) - added by 17 years ago.
- el_GR-reference.png (5.1 KB ) - added by 17 years ago.
- ru_RU.KOI8-R-reference.png (4.6 KB ) - added by 17 years ago.
- cs_CZ.UTF-8-fixed.png (4.9 KB ) - added by 17 years ago.
- el_GR.UTF-8-fixed.png (4.9 KB ) - added by 17 years ago.
- ru_RU.UTF-8-fixed.png (4.8 KB ) - added by 17 years ago.
- en_US-XLC_LOCALE (4.2 KB ) - added by 17 years ago.
- example-XLC_LOCALE (2.2 KB ) - added by 17 years ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.