~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tests/poppler/splash/SplashT1FontEngine.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//========================================================================
 
2
//
 
3
// SplashT1FontEngine.h
 
4
//
 
5
//========================================================================
 
6
 
 
7
#ifndef SPLASHT1FONTENGINE_H
 
8
#define SPLASHT1FONTENGINE_H
 
9
 
 
10
#if HAVE_T1LIB_H
 
11
 
 
12
#ifdef USE_GCC_PRAGMAS
 
13
#pragma interface
 
14
#endif
 
15
 
 
16
#include "goo/gtypes.h"
 
17
 
 
18
class SplashFontFile;
 
19
class SplashFontFileID;
 
20
class SplashFontSrc;
 
21
 
 
22
//------------------------------------------------------------------------
 
23
// SplashT1FontEngine
 
24
//------------------------------------------------------------------------
 
25
 
 
26
class SplashT1FontEngine {
 
27
public:
 
28
 
 
29
  static SplashT1FontEngine *init(GBool aaA);
 
30
 
 
31
  ~SplashT1FontEngine();
 
32
 
 
33
  // Load fonts.
 
34
  SplashFontFile *loadType1Font(SplashFontFileID *idA, SplashFontSrc *src, char **enc);
 
35
  SplashFontFile *loadType1CFont(SplashFontFileID *idA, SplashFontSrc *src, char **enc);
 
36
 
 
37
private:
 
38
 
 
39
  SplashT1FontEngine(GBool aaA);
 
40
 
 
41
  static int t1libInitCount;
 
42
  GBool aa;
 
43
 
 
44
  friend class SplashT1FontFile;
 
45
  friend class SplashT1Font;
 
46
};
 
47
 
 
48
#endif // HAVE_T1LIB_H
 
49
 
 
50
#endif