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

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

First import

File size: 1.2 KB
Line 
1//========================================================================
2//
3// SplashT1FontFile.h
4//
5//========================================================================
6
7#ifndef SPLASHT1FONTFILE_H
8#define SPLASHT1FONTFILE_H
9
10#if HAVE_T1LIB_H
11
12#ifdef USE_GCC_PRAGMAS
13#pragma interface
14#endif
15
16#include "SplashFontFile.h"
17
18class SplashT1FontEngine;
19
20//------------------------------------------------------------------------
21// SplashT1FontFile
22//------------------------------------------------------------------------
23
24class SplashT1FontFile: public SplashFontFile {
25public:
26
27  static SplashFontFile *loadType1Font(SplashT1FontEngine *engineA,
28                                       SplashFontFileID *idA,
29                                       SplashFontSrc *src,
30                                       char **encA);
31
32  virtual ~SplashT1FontFile();
33
34  // Create a new SplashT1Font, i.e., a scaled instance of this font
35  // file.
36  virtual SplashFont *makeFont(SplashCoord *mat);
37
38private:
39
40  SplashT1FontFile(SplashT1FontEngine *engineA,
41                   SplashFontFileID *idA,
42                   SplashFontSrc *src,
43                   int t1libIDA, char **encA, char *encStrA);
44
45  SplashT1FontEngine *engine;
46  int t1libID;                  // t1lib font ID
47  char **enc;
48  char *encStr;
49
50  friend class SplashT1Font;
51};
52
53#endif // HAVE_T1LIB_H
54
55#endif
Note: See TracBrowser for help on using the repository browser.