gdi32: Antialias fake bold or italic fonts regardless of GASP table.
If the client requests a bold typeface of a font which doesn't actually provide
a bold typeface, Wine fakes it using FT_Outline_Embolden(). Likewise, it fakes
italic by apply a shear transform.
These techniques work passably when antialiasing is in effect. However, when
antialiasing is disabled at small sizes by the font's GASP table, the results
are horrible. The glyphs have many spurs or appear furry.
On the theory that fonts disable antialiasing via the GASP table at small sizes
because hinting should produce pixel-perfect results and that that rationale is
voided by the application of procedural bolding or italicizing, we ignore the
GASP table and always antialias for fake bold or italic fonts.
There is a new registry setting to disable this and revert to the previous
behavior:
[HKEY_CURRENT_USER\Software\Wine\Fonts]
"AntialiasFakeBoldOrItalic"="n"
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Showing
Please
register
or
sign in
to comment