fix for t1lib-5.0.0
[swftools.git] / pdf2swf / swfoutput.h
index 32aaf13..5bd8ee0 100644 (file)
 #define __swfoutput_h__
 
 #include <t1lib.h>
+#ifdef T1ERR_SCAN_ENCODING //t1lib 5.0.0
+#define T1_Get_no_fonts T1_GetNoFonts
+#endif
+
 extern "C" {
 #include "../lib/rfxswf.h"
 }
@@ -22,6 +26,7 @@ extern int drawonlyshapes; //default:0
 extern int jpegquality; //default:100;
 extern int storeallcharacters; // default:0
 extern int insertstoptag; //default:0
+extern int flashversion; //default:4
 
 typedef long int twip;