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 );