| 1 |
/* ------------------------------- |
| 2 |
* glyphmap.h |
| 3 |
* header file for external map file loading functions |
| 4 |
*/ |
| 5 |
|
| 6 |
#ifdef XDVIPSK |
| 7 |
|
| 8 |
#define ENC_BUF_SIZE 0x1000 |
| 9 |
#define MAP_BUFSIZE 100000 |
| 10 |
#define PFB_EXT ".pfb" |
| 11 |
#define G2U_EXT ".g2u" |
| 12 |
#define LUA_EXT ".lua" |
| 13 |
#define G2U_FORMAT kpse_cmap_format |
| 14 |
|
| 15 |
extern void init_map_buf(char **p_map_buf, char **p_map_buf_ptr, size_t *p_map_buf_len); |
| 16 |
extern void append_map_buf(char **p_map_buf, char **p_map_buf_ptr, size_t *p_map_buf_len, const char *str); |
| 17 |
|
| 18 |
#define ENC_REF_SIGNATURE " ReEncodeFont" |
| 19 |
#define ALIAS_ID_DELIM '#' |
| 20 |
/* |
| 21 |
* removes alias id from the end of the aliased (encoding) file name |
| 22 |
* returns pointer to a static buffer, no need for deletion |
| 23 |
* not reentrant |
| 24 |
*/ |
| 25 |
extern char *get_alias_fname(const char *alias_name); |
| 26 |
|
| 27 |
#endif /* XDVIPSK */ |