~ubuntu-branches/ubuntu/wily/luatex/wily

« back to all changes in this revision

Viewing changes to source/libs/xpdf/xpdf-3.02/splash/SplashT1FontFile.h

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-04-29 00:47:19 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100429004719-o42etkqe90n97b9e
Tags: 0.60.1-1
* new upstream release, adapt build-script patch
* disable patch: upstream-epstopdf_cc_no_xpdf_patching, included upstream
* disable patch: libpoppler-0.12, not needed anymore

Show diffs side-by-side

added added

removed removed

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