mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
gdi32: Add support for the GGO_UNHINTED flag in GetGlyphOutline.
This commit is contained in:
parent
f0fed2831a
commit
a900f5e065
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue