]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/T1Font.h
Reused eog HIG dialog in GPdf.
[evince.git] / pdf / xpdf / T1Font.h
index 5215c3a6e8e0e69e4404750a029fdebb805a272c..416f5337b0327a4c7ca83ed282624306136897f9 100644 (file)
@@ -4,16 +4,18 @@
 //
 // An X wrapper for the t1lib Type 1 font rasterizer.
 //
-// Copyright 2001-2002 Glyph & Cog, LLC
+// Copyright 2001-2003 Glyph & Cog, LLC
 //
 //========================================================================
 
 #ifndef T1FONT_H
 #define T1FONT_H
 
+#include <aconf.h>
+
 #if HAVE_T1LIB_H
 
-#ifdef __GNUC__
+#ifdef USE_GCC_PRAGMAS
 #pragma interface
 #endif
 
@@ -39,6 +41,8 @@ private:
   GBool aaHigh;                        // use high-res anti-aliasing?
   GBool ok;
 
+  static int t1libInitCount;
+
   friend class T1FontFile;
   friend class T1Font;
 };
@@ -86,7 +90,8 @@ public:
 
 private:
 
-  Guchar *getGlyphPixmap(CharCode c, int *x, int *y, int *w, int *h);
+  Guchar *getGlyphPixmap(CharCode c, int *x, int *y, int *w, int *h,
+                        GBool *tempBitmap);
 
   T1FontFile *fontFile;
   int id;