|
From: | Jan-Åke Larsson |
Subject: | Re: [Dvipng] FreeType render modes |
Date: | Sun, 16 Nov 2008 17:12:51 +0100 |
User-agent: | Thunderbird 2.0.0.17 (X11/20080925) |
Jan-Åke Larsson skrev:
Tobias Wolf skrev:I've determined that HINT_MODE_AUTOHINT_LIGHT and FT_LCD_FILTER_DEFAULT are a good combination. Light autohinting because it does not affect horizontal advances, only horizontal lines like =, -, _, or T, E. LCD mode gives better Latin Modern and other Type1 fonts. Have you considered offering these modes? There is a small tool that can use all the modes here:http://cvs.savannah.gnu.org/viewvc/ft2demos/src/ftdiff.c?revision=1.12&root=freetype&view=markupNo, thanks for the heads-up. dvipng has been around for so long that these were nonexistent. I'll have a look.
Checking the code, it seems that the light hinter is already used in dvipng (with a differently named compile-time const), while the default lcd filter is not used. Since dvipng is not a display renderer and cannot know beforehand if rendering is done for an LCD display or not, I doubt that this is really an option.
/JÅ
[Prev in Thread] | Current Thread | [Next in Thread] |