fix build with recent changes/gcc 6.3.0
[AROS-Contrib.git] / arospdf / splash / SplashT1FontEngine.h
blob57a04487dcbd6caddac76f7cc77a3abf977f6dd0
1 //========================================================================
2 //
3 // SplashT1FontEngine.h
4 //
5 //========================================================================
7 #ifndef SPLASHT1FONTENGINE_H
8 #define SPLASHT1FONTENGINE_H
10 #include <aconf.h>
12 #if HAVE_T1LIB_H
14 #ifdef USE_GCC_PRAGMAS
15 #pragma interface
16 #endif
18 #include "gtypes.h"
20 class SplashFontFile;
21 class SplashFontFileID;
23 //------------------------------------------------------------------------
24 // SplashT1FontEngine
25 //------------------------------------------------------------------------
27 class SplashT1FontEngine {
28 public:
30 static SplashT1FontEngine *init(GBool aaA);
32 ~SplashT1FontEngine();
34 // Load fonts.
35 SplashFontFile *loadType1Font(SplashFontFileID *idA, char *fileName,
36 GBool deleteFile, char **enc);
37 SplashFontFile *loadType1CFont(SplashFontFileID *idA, char *fileName,
38 GBool deleteFile, char **enc);
40 private:
42 SplashT1FontEngine(GBool aaA);
44 static int t1libInitCount;
45 GBool aa;
47 friend class SplashT1FontFile;
48 friend class SplashT1Font;
51 #endif // HAVE_T1LIB_H
53 #endif