]> www.fi.muni.cz Git - evince.git/blob - pdf/xpdf/Params.h
embryonic PDF viewer as a Bonobo container...
[evince.git] / pdf / 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 // Send error messages to /dev/tty instead of stderr.
16 extern GBool errorsToTTY;
17
18 // If this is set, error messages will be silently discarded.
19 extern GBool errQuiet;
20
21 // Font search path.
22 extern char **fontPath;
23
24 // Mapping from PDF font name to device font name.
25 struct DevFontMapEntry {
26   char *pdfFont;
27   char *devFont;
28 };
29 extern DevFontMapEntry *devFontMap;
30
31 //------------------------------------------------------------------------
32
33 // Initialize font path and font map, and read configuration file,
34 // if present.
35 extern void initParams(char *configFile);
36
37 // Free memory used for font path and font map.
38 extern void freeParams();
39
40 #endif