Initial revision
[swftools.git] / pdf2swf / xpdf / Params.h
1 //========================================================================
2 //
3 // Params.h
4 //
5 // Copyright 1996 Derek B. Noonburg
6 //
7 //========================================================================
8
9 #ifndef PARAMS_H
10 #define PARAMS_H
11
12 // Print commands as they're executed.
13 extern GBool printCommands;
14
15 // If this is set, error messages will be silently discarded.
16 extern GBool errQuiet;
17
18 // Font search path.
19 extern char **fontPath;
20
21 // Mapping from PDF font name to device font name.
22 struct DevFontMapEntry {
23   char *pdfFont;
24   char *devFont;
25 };
26 extern DevFontMapEntry *devFontMap;
27
28 //------------------------------------------------------------------------
29
30 // Initialize font path and font map, and read configuration file,
31 // if present.
32 extern void initParams(char *configFile);
33
34 // Free memory used for font path and font map.
35 extern void freeParams();
36
37 #endif