| 1 |
#ifndef OTFTOTFM_AUTOMATIC_HH |
| 2 |
#define OTFTOTFM_AUTOMATIC_HH |
| 3 |
#include <lcdf/string.hh> |
| 4 |
class ErrorHandler; |
| 5 |
|
| 6 |
enum { |
| 7 |
O_ENCODING = 0, O_TFM, O_PL, O_VF, O_VPL, O_TYPE1, O_MAP, O_MAP_PARENT, |
| 8 |
O_TRUETYPE, O_OPENTYPE, O_TYPE42, NUMODIR |
| 9 |
}; |
| 10 |
|
| 11 |
extern bool automatic; |
| 12 |
extern bool no_create; |
| 13 |
String getodir(int o, ErrorHandler *); |
| 14 |
void setodir(int o, const String &); |
| 15 |
bool set_vendor(const String &); |
| 16 |
bool set_typeface(const String &, bool override); |
| 17 |
bool set_map_file(const String &); |
| 18 |
const char *odirname(int o); |
| 19 |
void update_odir(int o, String file, ErrorHandler *); |
| 20 |
String installed_type1(const String &otf_filename, const String &ps_fontname, bool allow_generate, ErrorHandler *); |
| 21 |
String installed_type1_dotlessj(const String &otf_filename, const String &ps_fontname, bool allow_generate, ErrorHandler *); |
| 22 |
String installed_truetype(const String &ttf_filename, bool allow_generate, ErrorHandler *errh); |
| 23 |
String installed_type42(const String &ttf_filename, const String &ps_fontname, bool allow_generate, ErrorHandler *errh); |
| 24 |
int update_autofont_map(const String &fontname, String mapline, ErrorHandler *); |
| 25 |
String locate_encoding(String encfile, ErrorHandler *, bool literal = false); |
| 26 |
|
| 27 |
#endif |