[PATCH] dwrite: Ignore embedded bitmaps when asked for outline

Nikolay Sivov nsivov at codeweavers.com
Fri Oct 9 09:56:02 CDT 2015


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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;
-- 
2.6.1




More information about the wine-patches mailing list