/*
* default font path
* can be overridden by environment variable TEXPXL
* or -a command line option
* popular choice:
* #define FONTAREA "/usr/local/lib/tex/fonts/pk"
*/
#ifndef FONTAREA
#ifdef vms
#define FONTAREA "tex$pkdir:"
#else
#ifdef _AMIGA
#define FONTAREA "TeX:pk"
#else
#define FONTAREA "/usr/local/lib/tex/pk300"
#endif
#endif
#endif
/* if DO_SUBDIRECTORIES is specified, search to this depth */
#ifndef MAX_SUBDIR_SEARCH_DEPTH
#define MAX_SUBDIR_SEARCH_DEPTH 10
#endif
/*
* if your LaserJet II P or LaserJet III or LaserJet 2000
* complains about not enough memory, you might try to reduce
* the value below or uncomment to use the default settings
*/
#ifdef LJ2P
#define MAX_FONTS_PER_PAGE 255 /* maximum number of fonts per page */
#endif
/* Timing is not very portable.... if you have troubles, use
* -DNO_TIMING in the Makefile
*/
/*
* per default use MakeTexPK in unix environments unless it is not wanted
*/
#ifdef unix
#ifndef MAKETEXPK
/* name of the program which is called to generate missing pk files
*/
#define MAKETEXPK "MakeTeXPK"
#endif
#endif
#ifdef _AMIGA
#ifndef MAKETEXPK
/* name of the program which is called to generate missing pk files
*/
#define MAKETEXPK "MakeTeXPK"
#endif
#endif
#ifdef NO_MAKETEXPK
#undef MAKETEXPK
#endif
/*
* assure that LJ2P is defined when LJ4 is defined;
* compile with support for LJ4's resident fonts
*/
#ifdef LJ4
#define LJ2P
#define LJ_RESIDENT_FONTS
#endif
/*
* assure that LJ2 is defined when LJ2P is defined
*/
#ifdef LJ2P
#ifndef LJ2
#define LJ2
#endif
#endif
/*
* assure that LJ is defined when LJ2 of LJ4 is defined
*/
#if defined(LJ2)
#ifndef LJ
#define LJ
#endif
#endif
/*
* assure that IBM3812 is not defined when LJ is defined
*/
#ifdef LJ
#ifdef IBM3812
#undef IBM3812
#endif
#endif
/* Information returned by tfm_read_info. */
typedef struct {
/* These string lengths are imposed by the TFM format. Either of these
values may be the empty string. */
char coding_scheme[40];
char family[20];
/* The second fontdimen. */
unsigned interword;
/* These values are what will work to select the font in PCL. If this
TFM file doesn't have the `KN' extensions (distinguishable by the
family == "HPAUTOTFM"). */
#define SPACING_FIXED 0
#define SPACING_PROPORTIONAL 1
unsigned spacing;
int weight;
unsigned style;
unsigned typeface_id;
/* TFM files can always have 256 characters, even if we're using the
old pixel format that only supports 128. The values are fix-words
scaled by the design size; i.e., straight from the TFM file. */
long widths[256];
} tfm_info_type;