File: ptexmap.h

package info (click to toggle)
xdvik-ja 22.84.16-j1.40+t1lib-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 16,628 kB
  • ctags: 10,310
  • sloc: ansic: 88,999; sh: 5,309; makefile: 1,031; perl: 245; lisp: 244
file content (23 lines) | stat: -rw-r--r-- 649 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#ifdef PTEX
struct ptexmap {
    char *jfm_name;
    char *font_filename;
    int ft2_index;
    int face_index;
    enum { ENC_UNKNOWN, ENC_JIS_H, ENC_JIS_V, ENC_UNICODE_H, ENC_UNICODE_V,
	   ENC_AJ16_H, ENC_AJ16_V,
	   ENC_IDENTITY } encoding;
    enum { VAR_BOLD = 0x01, VAR_ITALIC = 0x02 } variant;
    float extend, slant;
    char *sfd_name;
    char *csi;
    char *map_filename; /* only for warning message */
};

void read_ptexmap_file(char *filename);
struct ptexmap *getkanjifont(const char *jfm_name);
#define iskanjifont(jfm_name) (getkanjifont(jfm_name) != NULL)

void add_replace_dictionary(char *key, char *word);
#endif	/* PTEX */