diff options
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-src/splash/SplashFontEngine.h')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-src/splash/SplashFontEngine.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/libs/xpdf/xpdf-src/splash/SplashFontEngine.h b/Build/source/libs/xpdf/xpdf-src/splash/SplashFontEngine.h index f9eab4d00f4..59adb95858a 100644 --- a/Build/source/libs/xpdf/xpdf-src/splash/SplashFontEngine.h +++ b/Build/source/libs/xpdf/xpdf-src/splash/SplashFontEngine.h @@ -17,6 +17,7 @@ #include "gtypes.h" class GString; +class GList; class SplashFTFontEngine; class SplashDTFontEngine; @@ -54,6 +55,10 @@ public: // matching entry in the cache. SplashFontFile *getFontFile(SplashFontFileID *id); + // Returns true if [id] refers to a bad font file, i.e., if one of + // the loadXXXFont functions has returned NULL for that ID. + GBool checkForBadFontFile(SplashFontFileID *id); + // Load fonts - these create new SplashFontFile objects. SplashFontFile *loadType1Font(SplashFontFileID *idA, #if LOAD_FONTS_FROM_MEM @@ -114,6 +119,7 @@ public: private: SplashFont *fontCache[splashFontCacheSize]; + GList *badFontFiles; // [SplashFontFileID] #if HAVE_FREETYPE_H SplashFTFontEngine *ftEngine; |