Odi's astoundingly incomplete notes

New entries | Code

The ugly D of the Georgia typeface

Does the uppercase letter D of the Georgia font look ugly on your screen? In certain font sizes only maybe? Then anti-aliasing is to blame. Here are some letters in the Georgia typeface: DDDD
ugly rendering
On Linux you can disable anti-aliasing for this font, by adding a fontconfig script:
<match target="font">
  <test name="family" qual="any">
  <edit name="antialias" mode="assign">
After that the font is no longer anti-aliased but the D doesn't look ugly:
without AA

Alternatively replace Georgia with Times New Roman completely:
<match target="pattern">
    <test name="family" qual="any" >
    <edit name="family" mode="assign">
        <string>Times New Roman</string>
which renders like so:

Next I'm going to tackle the problem of the cut off left slant of the upper case W.

posted on 2011-08-09 14:44 UTC in Code | 0 comments | permalink