beta-0.89.2
[luatex.git] / source / libs / poppler / poppler-src / splash / SplashT1FontEngine.h
blob268a01479b03d9e083c756298432c219f172ffa6
1 //========================================================================
2 //
3 // SplashT1FontEngine.h
4 //
5 //========================================================================
7 #ifndef SPLASHT1FONTENGINE_H
8 #define SPLASHT1FONTENGINE_H
10 #if HAVE_T1LIB_H
12 #ifdef USE_GCC_PRAGMAS
13 #pragma interface
14 #endif
16 #include "goo/gtypes.h"
18 class SplashFontFile;
19 class SplashFontFileID;
20 class SplashFontSrc;
22 //------------------------------------------------------------------------
23 // SplashT1FontEngine
24 //------------------------------------------------------------------------
26 class SplashT1FontEngine {
27 public:
29 static SplashT1FontEngine *init(GBool aaA);
31 ~SplashT1FontEngine();
33 // Load fonts.
34 SplashFontFile *loadType1Font(SplashFontFileID *idA, SplashFontSrc *src, const char **enc);
35 SplashFontFile *loadType1CFont(SplashFontFileID *idA, SplashFontSrc *src, const char **enc);
37 private:
39 SplashT1FontEngine(GBool aaA);
41 static int t1libInitCount;
42 GBool aa;
44 friend class SplashT1FontFile;
45 friend class SplashT1Font;
48 #endif // HAVE_T1LIB_H
50 #endif