Font Rendering Comparison
After changing some font display settings in Linux, I wanted to test the changes. The specific change I wanted to test was the hinting level adjusted by pixel size. Hinting affects how sharp the edges of displayed fonts are. (Note that this is different from print appearance.) The article that got me started adjusting font display is a post on Planet Gentoo that I read a while ago. I noticed that there was a suggestion to use medium hinting to reduce fuzziness on small fonts. That was interesting, so I turned on full hinting for small fonts, hint medium for medium fonts, and hint slight for large fonts. You can see the result on the screenshot.
Linux
Medium hinting is set for pixel sizes between 7 and 11. As the size becomes larger, there are noticeable color fringes on the edge of the fonts. That’s where hint slight comes in.
Now, there’s nothing fancy going on in Linux as all the settings can be changed in an XML file. So after adjust font in Linux, I decided to write a webpage to test the different pixel sizes.
[cc lang=”php”]
\n”;
for($i=5;$i<22;$i++){
echo "
” . $i . ” px
\n”;
echo “
” . $s . “
\n”;
}
echo “
\n”;
$n++;
}
?>
