1 //========================================================================
5 //========================================================================
7 #ifndef SPLASHT1FONTFILE_H
8 #define SPLASHT1FONTFILE_H
14 #ifdef USE_GCC_PRAGMAS
18 #include "SplashFontFile.h"
20 class SplashT1FontEngine;
22 //------------------------------------------------------------------------
24 //------------------------------------------------------------------------
26 class SplashT1FontFile: public SplashFontFile {
29 static SplashFontFile *loadType1Font(SplashT1FontEngine *engineA,
30 SplashFontFileID *idA,
31 char *fileNameA, GBool deleteFileA,
34 virtual ~SplashT1FontFile();
36 // Create a new SplashT1Font, i.e., a scaled instance of this font
38 virtual SplashFont *makeFont(SplashCoord *mat);
42 SplashT1FontFile(SplashT1FontEngine *engineA,
43 SplashFontFileID *idA,
44 char *fileNameA, GBool deleteFileA,
45 int t1libIDA, char **encA, char *encStrA);
47 SplashT1FontEngine *engine;
48 int t1libID; // t1lib font ID
52 friend class SplashT1Font;
55 #endif // HAVE_T1LIB_H