poppler/GfxFont.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 38884e1722ac7e15c62cece20035c5fb0020f4b3
Author: Albert Astals Cid <[EMAIL PROTECTED]>
Date: Wed Sep 24 14:18:38 2008 +0200
Do what Jeff really want to do, mark the font as invalid if it matches any
of the known collections that Identity is not a good fallback
Fixes pdf on KDE bug 171365
diff --git a/poppler/GfxFont.cc b/poppler/GfxFont.cc
index 5d536b7..9cfa4f9 100644
--- a/poppler/GfxFont.cc
+++ b/poppler/GfxFont.cc
@@ -1392,7 +1392,7 @@ GfxCIDFont::GfxCIDFont(XRef *xref, char *tagA, Ref idA,
GooString *nameA,
"Adobe-Korea1",
};
for (size_t i = 0; i <
sizeof(knownCollections)/sizeof(knownCollections[0]); i++) {
- if (collection->cmp(knownCollections[i])) {
+ if (collection->cmp(knownCollections[i]) == 0) {
error(-1, "Missing language pack for '%s' mapping",
collection->getCString());
delete collection;
goto err2;
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler