1 //========================================================================
5 //========================================================================
7 //========================================================================
9 // Modified under the Poppler project - http://poppler.freedesktop.org
11 // All changes made under the Poppler project to this file are licensed
12 // under GPL version 2 or later
14 // Copyright (C) 2006 Takashi Iwai <tiwai@suse.de>
16 // To see a description of the changes please see the Changelog file that
17 // came with your tarball or type make ChangeLog if you are building from git
19 //========================================================================
21 #ifndef SPLASHT1FONTFILE_H
22 #define SPLASHT1FONTFILE_H
26 #ifdef USE_GCC_PRAGMAS
30 #include "SplashFontFile.h"
32 class SplashT1FontEngine
;
34 //------------------------------------------------------------------------
36 //------------------------------------------------------------------------
38 class SplashT1FontFile
: public SplashFontFile
{
41 static SplashFontFile
*loadType1Font(SplashT1FontEngine
*engineA
,
42 SplashFontFileID
*idA
,
46 virtual ~SplashT1FontFile();
48 // Create a new SplashT1Font, i.e., a scaled instance of this font
50 virtual SplashFont
*makeFont(SplashCoord
*mat
,
51 SplashCoord
*textMat
);
55 SplashT1FontFile(SplashT1FontEngine
*engineA
,
56 SplashFontFileID
*idA
,
58 int t1libIDA
, const char **encA
, char *encStrA
);
60 SplashT1FontEngine
*engine
;
61 int t1libID
; // t1lib font ID
65 friend class SplashT1Font
;
68 #endif // HAVE_T1LIB_H