diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 313e625362f..2e640384802 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -4373,6 +4373,11 @@ DWORD WineEngGetGlyphOutline(GdiFont *incoming_font, UINT glyph, UINT format, original_index = glyph_index; } + if(format & GGO_UNHINTED) { + load_flags |= FT_LOAD_NO_HINTING; + format &= ~GGO_UNHINTED; + } + /* tategaki never appears to happen to lower glyph index */ if (glyph_index < TATEGAKI_LOWER_BOUND ) tategaki = FALSE; diff --git a/include/wingdi.h b/include/wingdi.h index 322a2673373..e7be055261e 100644 --- a/include/wingdi.h +++ b/include/wingdi.h @@ -1294,6 +1294,7 @@ typedef struct #define GGO_GRAY4_BITMAP 5 #define GGO_GRAY8_BITMAP 6 #define GGO_GLYPH_INDEX 0x80 +#define GGO_UNHINTED 0x100 #ifdef __WINESRC__ #define WINE_GGO_GRAY16_BITMAP 0x7f