gdi32: Add support for the GGO_UNHINTED flag in GetGlyphOutline.

oldstable
Bobby Bingham 2008-10-26 18:20:13 -04:00 committed by Alexandre Julliard
parent f0fed2831a
commit a900f5e065
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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