gdi32: Don't load bitmap glyphs when using subpixel rendering in GetGlyphOutline.
This commit is contained in:
parent
3b0179cbde
commit
ebaf5ea176
|
@ -5997,12 +5997,7 @@ static DWORD get_glyph_outline(GdiFont *incoming_font, UINT glyph, UINT format,
|
||||||
needsTransform = TRUE;
|
needsTransform = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (needsTransform || (format == GGO_NATIVE || format == GGO_BEZIER ||
|
if (needsTransform || format != GGO_BITMAP) load_flags |= FT_LOAD_NO_BITMAP;
|
||||||
format == GGO_GRAY2_BITMAP || format == GGO_GRAY4_BITMAP ||
|
|
||||||
format == GGO_GRAY8_BITMAP))
|
|
||||||
{
|
|
||||||
load_flags |= FT_LOAD_NO_BITMAP;
|
|
||||||
}
|
|
||||||
|
|
||||||
err = pFT_Load_Glyph(ft_face, glyph_index, load_flags);
|
err = pFT_Load_Glyph(ft_face, glyph_index, load_flags);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue