1 //========================================================================
5 //========================================================================
14 #ifdef USE_GCC_PRAGMAS
18 #include "SplashFont.h"
20 //------------------------------------------------------------------------
22 //------------------------------------------------------------------------
24 class SplashT1Font: public SplashFont {
27 SplashT1Font(SplashT1FontFile *fontFileA, SplashCoord *matA);
29 virtual ~SplashT1Font();
31 // Munge xFrac and yFrac before calling SplashFont::getGlyph.
32 virtual GBool getGlyph(int c, int xFrac, int yFrac,
33 SplashGlyphBitmap *bitmap);
35 // Rasterize a glyph. The <xFrac> and <yFrac> values are the same
36 // as described for getGlyph.
37 virtual GBool makeGlyph(int c, int xFrac, int yFrac,
38 SplashGlyphBitmap *bitmap);
40 // Return the path for a glyph.
41 virtual SplashPath *getGlyphPath(int c);
45 int t1libID; // t1lib font ID
49 #endif // HAVE_T1LIB_H