Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/TTFont.cc
diff options
context:
space:
mode:
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>2003-04-01 19:47:11 (GMT)
committer Martin Kretzschmar <mkretzschmar@src.gnome.org>2003-04-01 19:47:11 (GMT)
commit7c5ab64d4db75e4bb6dadedb578e10178554d0db (patch)
tree595854215de7ef2d85e6c624e804966c54eb422c /pdf/xpdf/TTFont.cc
parentbfd0b848c8c81ab10698f74b77f9f0904c3161e1 (diff)
Merge with Xpdf 2.02 and make it build
Diffstat (limited to 'pdf/xpdf/TTFont.cc')
-rw-r--r--pdf/xpdf/TTFont.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/xpdf/TTFont.cc b/pdf/xpdf/TTFont.cc
index 6107fd4..fc6d849 100644
--- a/pdf/xpdf/TTFont.cc
+++ b/pdf/xpdf/TTFont.cc
@@ -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;