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:
parent
d2f0bc2f74
commit
925dc6da8f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue