http://bugzilla.novell.com/show_bug.cgi?id=573792
http://bugzilla.novell.com/show_bug.cgi?id=573792#c2
--- Comment #2 from Petr Gajdos 2010-01-26 10:01:05 UTC ---
There was calling initBuiltinFontTables() and freeBuiltinFontTables() in both
GlobalParams and GlobalParamsGUI, which appeared to be wrong. Following should
do the job:
Index: xpdf-poppler-autohinting-as-option.patch
===================================================================
--- xpdf-poppler-autohinting-as-option.patch (revision
f58652092693cdf1c0ea2e4b36868260)
+++ xpdf-poppler-autohinting-as-option.patch (working copy)
@@ -2,7 +2,7 @@
===================================================================
--- /dev/null
+++ GlobalParamsGUI.cc
-@@ -0,0 +1,3247 @@
+@@ -0,0 +1,3242 @@
+//========================================================================
+//
+// GlobalParamsGUI.cc
@@ -42,7 +42,6 @@
+#include "CharCodeToUnicode.h"
+#include "UnicodeMap.h"
+#include "CMap.h"
-+#include "BuiltinFontTables.h"
+#include "FontEncodingTables.h"
+#include
+#include
@@ -628,8 +627,6 @@
+ gInitMutex(&unicodeMapCacheMutex);
+ gInitMutex(&cMapCacheMutex);
+#endif
-+
-+ initBuiltinFontTables();
+
+ // scan the encoding in reverse because we want the lowest-numbered
+ // index for each char name ('space' is encoded twice)
@@ -1836,8 +1833,6 @@
+ GooHashIter *iter;
+ GooString *key;
+ GooList *list;
-+
-+ freeBuiltinFontTables();
+
+ delete macRomanReverseMap;
+
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.