6 /* Maximum font size that we try to handle */
7 #define MAXFONTSIZE 65536
9 typedef unsigned int unicode;
12 struct unicode_seq *next;
13 struct unicode_seq *prev;
18 struct unicode_list *next;
19 struct unicode_list *prev;
20 struct unicode_seq *seq;
23 extern int readpsffont(FILE *fontf, char **allbufp, int *allszp,
24 char **fontbufp, int *fontszp,
25 int *fontwidthp, int *fontlenp, int fontpos0,
26 struct unicode_list **uclistheadsp);
28 extern int writepsffont(FILE *ofil, char *fontbuf,
29 int width, int height, size_t fontlen, int psftype,
30 struct unicode_list *uclistheads);
32 #define WPSFH_HASTAB 1
33 #define WPSFH_HASSEQ 2
34 extern void writepsffontheader(FILE *ofil,
35 int width, int height, int fontlen,
36 int *psftype, int flags);
38 extern void appendunicode(FILE *fp, unsigned int uc, int utf8);
39 extern void appendseparator(FILE *fp, int seq, int utf8);
41 #endif /* _PSFFONTOP_H */