1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
#define LASTTFMCHAR 255
struct tfmchar_entry { /* character entry */
short dev_font, dev_char;
int tfmw; /* TFM width */
};
struct tfmfntinfo {
int lastfntchar;
struct tfmchar_entry ch[LASTTFMCHAR+1]; /* character information */
};
#define tfmfinfo(fe) ((struct tfmfntinfo *)(fe->finfo))
struct jstfmchar_entry { /* character entry */
short dev_ku, dev_ten;
int tfmw; /* TFM width */
};
struct jstfmfntinfo {
int lastfntchar;
struct jstfmchar_entry ch[LASTTFMCHAR+1]; /* character information */
short dev_font;
int *dictopen;
char *dev_name;
};
#define jstfmfinfo(fe) ((struct jstfmfntinfo *)(fe->finfo))
#define JFM_ID 11
#define TJFM_ID 9
struct jfmtype_entry { /* character type entry */
int jfm_code;
int jfm_type;
};
struct jfmchar_entry { /* character entry */
int tfmw; /* TFM width */
};
struct jfmfntinfo {
int nctype;
struct jfmtype_entry *ctype; /* character type information */
int lasttypecode;
struct jfmchar_entry *ch; /* character information indexed by type */
char *dev_name;
};
#define jfmfinfo(fe) ((struct jfmfntinfo *)(fe->finfo))
/* bitex: obsolete */
#define HALFTFMCHAR 127
#define LWFSIZE 64
struct bitexfntinfo {
int lastfntchar;
struct tfmchar_entry ch[HALFTFMCHAR+1]; /* character information */
char dev_name[LWFSIZE];
};
#define bitexfinfo(fe) ((struct bitexfntinfo *)(fe->finfo))
char *dev_bikanjiname();
|