• Ken Thomases's avatar
    gdi32: Antialias fake bold or italic fonts regardless of GASP table. · a05cdaa1
    Ken Thomases authored
    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: 's avatarKen Thomases <ken@codeweavers.com>
    a05cdaa1
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.vars.in Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...