diff options
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h b/Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h index ec6d3c3d246..e752ded62f8 100644 --- a/Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h +++ b/Build/source/libs/xpdf/xpdf-src/xpdf/GfxFont.h @@ -11,6 +11,10 @@ #include <aconf.h> +#ifdef USE_GCC_PRAGMAS +#pragma interface +#endif + #include "gtypes.h" #include "GString.h" #include "Object.h" @@ -25,7 +29,6 @@ class FoFiTrueType; class FoFiType1C; struct GfxFontCIDWidths; struct Base14FontMapEntry; -class GfxFontDictEntry; class FNVHash; //------------------------------------------------------------------------ @@ -385,7 +388,7 @@ class GfxFontDict { public: // Build the font dictionary, given the PDF font dictionary. - GfxFontDict(XRef *xrefA, Ref *fontDictRef, Dict *fontDict); + GfxFontDict(XRef *xref, Ref *fontDictRef, Dict *fontDict); // Destructor. ~GfxFontDict(); @@ -402,18 +405,13 @@ private: friend class GfxFont; - void loadAll(); - void load(char *tag, GfxFontDictEntry *entry); static int hashFontObject(Object *obj); static void hashFontObject1(Object *obj, FNVHash *h); - XRef *xref; - GHash *fonts; // hash table of fonts, mapping from - // tag to GfxFontDictEntry; this may - // contain duplicates, i.e., two - // tags that map to the same font + GHash *fonts; // hash table of fonts -- this may + // include duplicates, i.e., when + // two tags map to the same font GList *uniqueFonts; // list of all unique font objects (no dups) - // that have been loaded }; #endif |