From 873bf81d3b2c5d6bb343cda11e5c79ba6a8107c6 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 24 Oct 2011 23:34:05 +0200 Subject: [PATCH] gdi32: Don't return outline metrics for bitmap fonts. --- dlls/gdi32/freetype.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index a2b57eb2528..85afe487b6c 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 );