diff options
| author | Richard Hughes <cyreve@gmail.com> | 2006-03-02 21:16:13 +0000 |
|---|---|---|
| committer | cyreve <cyreve@users.sourceforge.net> | 2006-03-02 21:16:13 +0000 |
| commit | f884331d563548aa6879a24835f20f813b490c47 (patch) | |
| tree | 902a14435fcae964696534e7cfdb7e78cb733838 /src/libnrtype | |
| parent | Add stuff to separate .exe and debug info (diff) | |
| download | inkscape-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.cpp | 2 |
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 |
