Alexandre Julliard : gdi32: Don't return outline metrics for bitmap fonts.
Alexandre Julliard
julliard at winehq.org
Tue Oct 25 13:50:27 CDT 2011
Module: wine
Branch: master
Commit: 873bf81d3b2c5d6bb343cda11e5c79ba6a8107c6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=873bf81d3b2c5d6bb343cda11e5c79ba6a8107c6
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Oct 24 23:34:05 2011 +0200
gdi32: Don't return outline metrics for bitmap fonts.
---
dlls/gdi32/freetype.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index a2b57eb..85afe48 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -6240,6 +6240,8 @@ UINT WineEngGetOutlineTextMetrics(GdiFont *font, UINT cbSize,
TRACE("font=%p\n", font);
+ if (!FT_IS_SCALABLE( font->ft_face )) return 0;
+
GDI_CheckNotLock();
EnterCriticalSection( &freetype_cs );
More information about the wine-cvs
mailing list