]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | //======================================================================== |
2 | // | |
3 | // SplashT1FontEngine.h | |
4 | // | |
5 | //======================================================================== | |
6 | ||
7 | #ifndef SPLASHT1FONTENGINE_H | |
8 | #define SPLASHT1FONTENGINE_H | |
9 | ||
10 | #include <config.h> | |
11 | ||
12 | #if HAVE_T1LIB_H | |
13 | ||
14 | #ifdef USE_GCC_PRAGMAS | |
15 | #pragma interface | |
16 | #endif | |
17 | ||
18 | #include "gtypes.h" | |
19 | ||
20 | class SplashFontFile; | |
21 | class SplashFontFileID; | |
22 | ||
23 | //------------------------------------------------------------------------ | |
24 | // SplashT1FontEngine | |
25 | //------------------------------------------------------------------------ | |
26 | ||
27 | class SplashT1FontEngine { | |
28 | public: | |
29 | ||
30 | static SplashT1FontEngine *init(GBool aaA); | |
31 | ||
32 | ~SplashT1FontEngine(); | |
33 | ||
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); | |
39 | ||
40 | private: | |
41 | ||
42 | SplashT1FontEngine(GBool aaA); | |
43 | ||
44 | static int t1libInitCount; | |
45 | GBool aa; | |
46 | ||
47 | friend class SplashT1FontFile; | |
48 | friend class SplashT1Font; | |
49 | }; | |
50 | ||
51 | #endif // HAVE_T1LIB_H | |
52 | ||
53 | #endif |