]>
git.ipfire.org Git - thirdparty/cups.git/blob - pdftops/SplashT1Font.h
1 //========================================================================
5 //========================================================================
14 #ifdef USE_GCC_PRAGMAS
18 #include "SplashFont.h"
20 class SplashT1FontFile
;
22 //------------------------------------------------------------------------
24 //------------------------------------------------------------------------
26 class SplashT1Font
: public SplashFont
{
29 SplashT1Font(SplashT1FontFile
*fontFileA
, SplashCoord
*matA
);
31 virtual ~SplashT1Font();
33 // Munge xFrac and yFrac before calling SplashFont::getGlyph.
34 virtual GBool
getGlyph(int c
, int xFrac
, int yFrac
,
35 SplashGlyphBitmap
*bitmap
);
37 // Rasterize a glyph. The <xFrac> and <yFrac> values are the same
38 // as described for getGlyph.
39 virtual GBool
makeGlyph(int c
, int xFrac
, int yFrac
,
40 SplashGlyphBitmap
*bitmap
);
42 // Return the path for a glyph.
43 virtual SplashPath
*getGlyphPath(int c
);
47 int t1libID
; // t1lib font ID
51 #endif // HAVE_T1LIB_H