From 4b0c82ccdca95f335caee5c975f2539574093292 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Fri, 16 Jan 2009 13:13:19 -0800 Subject: [PATCH] changed from preparePage() to setPageMap() --- lib/pdf/InfoOutputDev.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/pdf/InfoOutputDev.h b/lib/pdf/InfoOutputDev.h index 07b2b67..2fd3ea5 100644 --- a/lib/pdf/InfoOutputDev.h +++ b/lib/pdf/InfoOutputDev.h @@ -41,6 +41,11 @@ #else #include "GHash.h" #endif +#include "../gfxdevice.h" +#include "../gfxtools.h" +#include "../gfxfont.h" + +#define INTERNAL_FONT_SIZE 1024.0 struct GlyphInfo { @@ -65,6 +70,7 @@ struct FontInfo void grow(int size); + gfxfont_t*gfxfont; GfxFont*font; double max_size; int num_glyphs; @@ -83,6 +89,8 @@ class InfoOutputDev: public OutputDev GlyphInfo* currentglyph; SplashOutputDev*splash; + gfxfont_t* createGfxFont(GfxFont*xpdffont, FontInfo*src); + public: int x1,y1,x2,y2; int num_links; @@ -90,6 +98,8 @@ class InfoOutputDev: public OutputDev int num_fonts; int num_polygons; + gfxfontlist_t*fonts; + InfoOutputDev(XRef*xref); virtual ~InfoOutputDev(); virtual GBool useTilingPatternFill(); -- 1.7.10.4