dwrite: Ignore embedded bitmaps when asked for outline.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2015-10-09 17:56:02 +03:00 committed by Alexandre Julliard
parent d2f0bc2f74
commit 925dc6da8f
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ HRESULT freetype_get_glyph_outline(IDWriteFontFace2 *fontface, FLOAT emSize, UIN
EnterCriticalSection(&freetype_cs);
if (pFTC_Manager_LookupSize(cache_manager, &scaler, &size) == 0) {
if (pFT_Load_Glyph(size->face, index, FT_LOAD_DEFAULT) == 0) {
if (pFT_Load_Glyph(size->face, index, FT_LOAD_NO_BITMAP) == 0) {
FT_Outline *outline = &size->face->glyph->outline;
short count;
FT_Matrix m;