fix remapping behavior. Remapping is only necessary if we are rendering on the workbe...
[AROS-Contrib.git] / arospdf / splash / SplashT1FontFile.h
blob69c9caf0e826f4197bf1d97c33b871637003b384
1 //========================================================================
2 //
3 // SplashT1FontFile.h
4 //
5 //========================================================================
7 #ifndef SPLASHT1FONTFILE_H
8 #define SPLASHT1FONTFILE_H
10 #include <aconf.h>
12 #if HAVE_T1LIB_H
14 #ifdef USE_GCC_PRAGMAS
15 #pragma interface
16 #endif
18 #include "SplashFontFile.h"
20 class SplashT1FontEngine;
22 //------------------------------------------------------------------------
23 // SplashT1FontFile
24 //------------------------------------------------------------------------
26 class SplashT1FontFile: public SplashFontFile {
27 public:
29 static SplashFontFile *loadType1Font(SplashT1FontEngine *engineA,
30 SplashFontFileID *idA,
31 char *fileNameA, GBool deleteFileA,
32 char **encA);
34 virtual ~SplashT1FontFile();
36 // Create a new SplashT1Font, i.e., a scaled instance of this font
37 // file.
38 virtual SplashFont *makeFont(SplashCoord *mat,
39 SplashCoord *textMat);
41 private:
43 SplashT1FontFile(SplashT1FontEngine *engineA,
44 SplashFontFileID *idA,
45 char *fileNameA, GBool deleteFileA,
46 int t1libIDA, char **encA, char *encStrA);
48 SplashT1FontEngine *engine;
49 int t1libID; // t1lib font ID
50 char **enc;
51 char *encStr;
53 friend class SplashT1Font;
56 #endif // HAVE_T1LIB_H
58 #endif