From: cyreve Date: Thu, 2 Mar 2006 21:16:13 +0000 (+0000) Subject: bug 1441767: allow device fonts (eg opentype with postscript outlines or plain postsc... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=12214b32eca96826d1f77672779417d6a206836b;p=inkscape.git bug 1441767: allow device fonts (eg opentype with postscript outlines or plain postscript) to be instantiated by the font engine --- diff --git a/src/libnrtype/FontInstance.cpp b/src/libnrtype/FontInstance.cpp index 190bbb19f..01d008181 100644 --- a/src/libnrtype/FontInstance.cpp +++ b/src/libnrtype/FontInstance.cpp @@ -384,7 +384,7 @@ bool font_instance::IsOutlineFont(void) InitTheFace(); #ifdef USE_PANGO_WIN32 TEXTMETRIC tm; - return GetTextMetrics(daddy->hScreenDC,&tm) && tm.tmPitchAndFamily&TMPF_TRUETYPE; + return GetTextMetrics(daddy->hScreenDC,&tm) && tm.tmPitchAndFamily&(TMPF_TRUETYPE|TMPF_DEVICE); #else return FT_IS_SCALABLE(theFace); #endif