X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2FInfoOutputDev.h;h=532e2edc6bb9a600c0980247571bf8409ae63b5e;hb=5f1e7e9ebbac00effaae0545c32fe9060215d125;hp=07b2b6792ce3088ab52122110b118c50b2db2f5f;hpb=fa4fec76390c6ff0fc041a83bff0edb475ea7d78;p=swftools.git diff --git a/lib/pdf/InfoOutputDev.h b/lib/pdf/InfoOutputDev.h index 07b2b67..532e2ed 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,12 +89,18 @@ class InfoOutputDev: public OutputDev GlyphInfo* currentglyph; SplashOutputDev*splash; + gfxfont_t* createGfxFont(GfxFont*xpdffont, FontInfo*src); + public: int x1,y1,x2,y2; int num_links; - int num_images; + int num_ppm_images; + int num_jpeg_images; int num_fonts; int num_polygons; + int num_textfields; + + gfxfontlist_t*fonts; InfoOutputDev(XRef*xref); virtual ~InfoOutputDev();