extern char *root_search_path;
extern char *pk_search_path;
extern char *pkd_search_path;
extern char *fli_search_path;
extern char *tfm_search_path;
extern char *genfont_tmpl;
extern char *sub_font;
extern char *ntt_subst_fonts;
extern char *vfont_name;
extern char *set_trans_jis;
extern char *knj_search_path;
extern char *g_szLogFileName;
extern char *vfont_name;
extern char *browser;

extern int f_sub_blank;
extern int f_long_name;
extern int f_search;
extern int f_use_ttf;
extern int k_scale;
extern int k_base;

extern int LeftMargine;
extern int TopMargine;
extern int RightMargine;
extern int BottomMargine;

extern BOOL g_bLog;
extern BOOL ntt_subst;
extern BOOL f_font_c;
extern BOOL HC;
extern BOOL VC;
extern int HS;
extern int VS;
extern SCALED_PT OX;
extern SCALED_PT OY;

extern int f_rotate;

extern DIMENSION dviout_dimension;

struct SCALE {
	short int x;
	short int y;
	short int gamma;
};

extern struct SCALE scale[];

char *font_name_check(char *name, uint fig, uint figl);
char *to_font_name(char*);
int get_term(char *, char *, int, int);
