summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d8b93a5)
raw | patch | inline | side by side (parent: d8b93a5)
author | cyreve <cyreve@users.sourceforge.net> | |
Thu, 2 Mar 2006 21:16:13 +0000 (21:16 +0000) | ||
committer | cyreve <cyreve@users.sourceforge.net> | |
Thu, 2 Mar 2006 21:16:13 +0000 (21:16 +0000) |
src/libnrtype/FontInstance.cpp | patch | blob | history |
index 190bbb19fa8822bccdbceda4fa76a6e7fb93eb3e..01d0081819e75e3a481c9396ba48eaa511a2f89c 100644 (file)
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