summaryrefslogtreecommitdiffstats
path: root/src/libnrtype
diff options
context:
space:
mode:
authorRichard Hughes <cyreve@gmail.com>2006-03-02 21:16:13 +0000
committercyreve <cyreve@users.sourceforge.net>2006-03-02 21:16:13 +0000
commitf884331d563548aa6879a24835f20f813b490c47 (patch)
tree902a14435fcae964696534e7cfdb7e78cb733838 /src/libnrtype
parentAdd stuff to separate .exe and debug info (diff)
downloadinkscape-f884331d563548aa6879a24835f20f813b490c47.tar.gz
inkscape-f884331d563548aa6879a24835f20f813b490c47.zip
bug 1441767: allow device fonts (eg opentype with postscript outlines or plain postscript) to be instantiated by the font engine
(bzr r197)
Diffstat (limited to 'src/libnrtype')
-rw-r--r--src/libnrtype/FontInstance.cpp2
1 files changed, 1 insertions, 1 deletions
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