]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/TTFont.cc
Reused eog HIG dialog in GPdf.
[evince.git] / pdf / xpdf / TTFont.cc
index 6107fd43aa117bc7af7fe324833eefdaab1d1969..fc6d84905ebcef49b63abd85e5aa7c5c61653d9e 100644 (file)
@@ -2,7 +2,7 @@
 //
 // TTFont.cc
 //
-// Copyright 2001-2002 Glyph & Cog, LLC
+// Copyright 2001-2003 Glyph & Cog, LLC
 //
 //========================================================================
 
@@ -80,7 +80,7 @@ TTFontFile::TTFontFile(TTFontEngine *engineA, char *fontFileName,
   unicodeCmap = macRomanCmap = msSymbolCmap = 0xffff;
   for (i = 0; i < props.num_CharMaps; ++i) {
     if (!TT_Get_CharMap_ID(face, i, &platform, &encoding)) {
-      if (platform == 3 && encoding == 1) {
+      if ((platform == 3 && encoding == 1) || platform == 0) {
        unicodeCmap = i;
       } else if (platform == 1 && encoding == 0) {
        macRomanCmap = i;