source: trunk/poppler/mypoppler/splash/SplashT1Font.h @ 2

Last change on this file since 2 was 2, checked in by Eugene Romanenko, 15 years ago

First import

File size: 1.1 KB
Line 
1//========================================================================
2//
3// SplashT1Font.h
4//
5//========================================================================
6
7#ifndef SPLASHT1FONT_H
8#define SPLASHT1FONT_H
9
10#if HAVE_T1LIB_H
11
12#ifdef USE_GCC_PRAGMAS
13#pragma interface
14#endif
15
16#include "SplashFont.h"
17
18class SplashT1FontFile;
19
20//------------------------------------------------------------------------
21// SplashT1Font
22//------------------------------------------------------------------------
23
24class SplashT1Font: public SplashFont {
25public:
26
27  SplashT1Font(SplashT1FontFile *fontFileA, SplashCoord *matA);
28
29  virtual ~SplashT1Font();
30
31  // Munge xFrac and yFrac before calling SplashFont::getGlyph.
32  virtual GBool getGlyph(int c, int xFrac, int yFrac,
33                         SplashGlyphBitmap *bitmap);
34
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);
39
40  // Return the path for a glyph.
41  virtual SplashPath *getGlyphPath(int c);
42
43private:
44
45  int t1libID;                  // t1lib font ID
46  float size;
47};
48
49#endif // HAVE_T1LIB_H
50
51#endif
Note: See TracBrowser for help on using the repository browser.