| 1 |
#ifndef OTFTOTFM_KPSEINTERFACE_H |
| 2 |
#define OTFTOTFM_KPSEINTERFACE_H |
| 3 |
#ifdef __cplusplus |
| 4 |
extern "C" { |
| 5 |
#endif |
| 6 |
|
| 7 |
void kpsei_init(const char* argv0, const char* progname); |
| 8 |
extern int kpsei_env_sep_char; |
| 9 |
char* kpsei_path_expand(const char* path); /* free() result */ |
| 10 |
char* kpsei_var_value(const char *name); |
| 11 |
enum { KPSEI_FMT_WEB2C, KPSEI_FMT_ENCODING, KPSEI_FMT_TYPE1, |
| 12 |
KPSEI_FMT_OTHER_TEXT, KPSEI_FMT_MAP, KPSEI_FMT_TRUETYPE, |
| 13 |
KPSEI_FMT_OPENTYPE, KPSEI_FMT_TYPE42 }; |
| 14 |
char* kpsei_find_file(const char* name, int format); |
| 15 |
void kpsei_set_debug_flags(unsigned flags); |
| 16 |
|
| 17 |
#ifdef __cplusplus |
| 18 |
} |
| 19 |
#endif |
| 20 |
#endif |