Unreadable Chinese Fonts when Size is Small

Lenny comes with a good font settings. Even Chinese characters are displayed correctly without any manual configuration (In Etch, I’ll have to provide my own ~/.fonts.conf for it to work correctly).

Some time back, however, I found that on some web site that displayed Chinese characters in a rather small size, they became unreadable (certain parts of the characters were missing).

To correct this, I’ll have to (again) provide my own “~/.fonts.conf”. And now, the result:

My “~/.fonts.conf” has the following content:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- ~/.fonts.conf for per-user font configuration -->
    use rgb sub-pixel ordering to improve glyph appearance on
    LCD screens.  Changes affecting rendering, but not matching
    should always use target="font".
    <match target="font">
        <edit mode="assign" name="rgba" >     <const>rgb</const> </edit>
        <edit mode="assign" name="hinting" >  <bool>true</bool>  </edit>
        <edit mode="assign" name="antialias"> <bool>true</bool> </edit>
        <edit mode="assign" name="autohint" > <bool>true</bool> </edit>
        <edit mode="assign" name="hintstyle"> <const>hintfull</const> </edit>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: