diff --git a/win32ss/gdi/ntgdi/font.c b/win32ss/gdi/ntgdi/font.c index ba51f26..a48904c 100644 --- a/win32ss/gdi/ntgdi/font.c +++ b/win32ss/gdi/ntgdi/font.c @@ -907,11 +907,6 @@ NtGdiGetOutlineTextMetricsInternalW (HDC hDC, return 0; } FontGDI = ObjToGDI(TextObj->Font, FONT); - if (!(FontGDI->flType & FO_TYPE_TRUETYPE)) - { - TEXTOBJ_UnlockText(TextObj); - return 0; - } TextIntUpdateSize(dc, TextObj, FontGDI, TRUE); TEXTOBJ_UnlockText(TextObj); Size = IntGetOutlineTextMetrics(FontGDI, 0, NULL); diff --git a/win32ss/gdi/ntgdi/freetype.c b/win32ss/gdi/ntgdi/freetype.c index 0fd08a4..d88ef78 100644 --- a/win32ss/gdi/ntgdi/freetype.c +++ b/win32ss/gdi/ntgdi/freetype.c @@ -2682,8 +2682,8 @@ IntGetOutlineTextMetrics(PFONTGDI FontGDI, FillTM(&Otm->otmTextMetrics, FontGDI, pOS2, pHori, !Error ? &WinFNT : 0); - if (!pOS2) - goto skip_os2; +// if (!pOS2) +// goto skip_os2; Otm->otmFiller = 0; RtlCopyMemory(&Otm->otmPanoseNumber, pOS2->panose, PANOSE_COUNT); @@ -2735,7 +2735,7 @@ IntGetOutlineTextMetrics(PFONTGDI FontGDI, #undef SCALE_X #undef SCALE_Y -skip_os2: +//skip_os2: IntUnLockFreeType(); pb = IntStoreFontNames(&FontNames, Otm);