From 9e86f117222bf11739c4674b95919bbf03bff54d Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 20 Oct 2007 17:13:24 +0000 Subject: [PATCH] made getDisplayFont in GlobalParams virtual --- lib/pdf/xpdf-changes.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/pdf/xpdf-changes.patch b/lib/pdf/xpdf-changes.patch index b0dded3..b9ef100 100644 --- a/lib/pdf/xpdf-changes.patch +++ b/lib/pdf/xpdf-changes.patch @@ -580,6 +580,17 @@ retrieving revision 1.6 diff -u -r1.5 -r1.6 --- GlobalParams.h 2006-10-10 19:54:29.000000000 +0200 +++ GlobalParams.h 2006-11-12 11:19:40.000000000 +0100 +@@ -213,8 +213,8 @@ + FILE *getUnicodeMapFile(GString *encodingName); + FILE *findCMapFile(GString *collection, GString *cMapName); + FILE *findToUnicodeFile(GString *name); +- DisplayFontParam *getDisplayFont(GString *fontName); +- DisplayFontParam *getDisplayCIDFont(GString *fontName, GString *collection); ++ virtual DisplayFontParam *getDisplayFont(GString *fontName); ++ virtual DisplayFontParam *getDisplayCIDFont(GString *fontName, GString *collection); + GString *getPSFile(); + int getPSPaperWidth(); + int getPSPaperHeight(); @@ -218,1 +218,1 @@ - void parseFile(GString *fileName, FILE *f); +public: void parseFile(GString *fileName, FILE *f); private: -- 1.7.10.4