Module: wine Branch: master Commit: 925dc6da8f33ea1e1a092d92f62c127182d98745 URL: http://source.winehq.org/git/wine.git/?a=commit;h=925dc6da8f33ea1e1a092d92f6...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Fri Oct 9 17:56:02 2015 +0300
dwrite: Ignore embedded bitmaps when asked for outline.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/dwrite/freetype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dwrite/freetype.c b/dlls/dwrite/freetype.c index 4eaef02..cfae1af 100644 --- a/dlls/dwrite/freetype.c +++ b/dlls/dwrite/freetype.c @@ -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;