summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d9ba122)
raw | patch | inline | side by side (parent: d9ba122)
author | cyreve <cyreve@users.sourceforge.net> | |
Fri, 10 Feb 2006 20:41:45 +0000 (20:41 +0000) | ||
committer | cyreve <cyreve@users.sourceforge.net> | |
Fri, 10 Feb 2006 20:41:45 +0000 (20:41 +0000) |
src/libnrtype/FontInstance.cpp | patch | blob | history |
index d2b19d0f2255c6ec07cf6c9254c7c48b5cd381bf..190bbb19fa8822bccdbceda4fa76a6e7fb93eb3e 100644 (file)
SelectObject(daddy->hScreenDC,theFace);
#else
theFace=pango_ft2_font_get_face(pFont);
- FT_Select_Charmap(theFace,ft_encoding_unicode) && FT_Select_Charmap(theFace,ft_encoding_symbol);
+ if ( theFace )
+ FT_Select_Charmap(theFace,ft_encoding_unicode) && FT_Select_Charmap(theFace,ft_encoding_symbol);
#endif
}