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