Nikolay Sivov : dwrite: Ignore embedded bitmaps when asked for outline.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 12 09:51:12 CDT 2015


Module: wine
Branch: master
Commit: 925dc6da8f33ea1e1a092d92f62c127182d98745
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=925dc6da8f33ea1e1a092d92f62c127182d98745

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




More information about the wine-cvs mailing list