1 typedef struct fz_font_s fz_font
;
2 typedef struct fz_hmtx_s fz_hmtx
;
3 typedef struct fz_vmtx_s fz_vmtx
;
4 typedef struct fz_glyph_s fz_glyph
;
5 typedef struct fz_glyphcache_s fz_glyphcache
;
11 int w
; /* type3 fonts can be big! */
28 fz_error
* (*render
)(fz_glyph
*, fz_font
*, int, fz_matrix
);
29 void (*drop
)(fz_font
*);
46 unsigned char *samples
;
49 void fz_initfont(fz_font
*font
, char *name
);
50 fz_font
*fz_keepfont(fz_font
*font
);
51 void fz_dropfont(fz_font
*font
);
52 void fz_debugfont(fz_font
*font
);
53 void fz_setfontwmode(fz_font
*font
, int wmode
);
54 void fz_setfontbbox(fz_font
*font
, int xmin
, int ymin
, int xmax
, int ymax
);
55 void fz_setdefaulthmtx(fz_font
*font
, int w
);
56 void fz_setdefaultvmtx(fz_font
*font
, int y
, int w
);
57 fz_error
*fz_addhmtx(fz_font
*font
, int lo
, int hi
, int w
);
58 fz_error
*fz_addvmtx(fz_font
*font
, int lo
, int hi
, int x
, int y
, int w
);
59 fz_error
*fz_endhmtx(fz_font
*font
);
60 fz_error
*fz_endvmtx(fz_font
*font
);
61 fz_hmtx
fz_gethmtx(fz_font
*font
, int cid
);
62 fz_vmtx
fz_getvmtx(fz_font
*font
, int cid
);
64 fz_error
*fz_newglyphcache(fz_glyphcache
**arenap
, int slots
, int size
);
65 fz_error
*fz_renderglyph(fz_glyphcache
*, fz_glyph
*, fz_font
*, int, fz_matrix
);
66 void fz_debugglyphcache(fz_glyphcache
*);
67 void fz_dropglyphcache(fz_glyphcache
*);