Version 2 (modified by trac, 17 years ago) ( diff )


X Window System Components


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>,' \

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 name="pixelsize" compare="less_eq">
   <test name="pixelsize" compare="more_eq">
   <edit name="antialias" mode="assign">


Attachments (11)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.