diff options
Diffstat (limited to 'paper.h')
| -rw-r--r-- | paper.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -90,6 +90,7 @@ struct font_info_Tag { * Pointer to data about the file containing the font, if any. */ void *fontfile; + enum { TYPE1, TRUETYPE } filetype; /* A tree of glyph_widths */ tree234 *widths; /* A tree of kern_pairs */ @@ -386,6 +387,7 @@ glyph glyph_intern(char const *); char const *glyph_extern(glyph); wchar_t ps_glyph_to_unicode(glyph); extern const char *const ps_std_glyphs[]; +extern glyph const tt_std_glyphs[]; void init_std_fonts(void); const int *ps_std_font_widths(char const *fontname); const kern_pair *ps_std_font_kerns(char const *fontname); @@ -402,4 +404,9 @@ void pf_part1(font_info *fi, char **bufp, size_t *lenp); void pf_part2(font_info *fi, char **bufp, size_t *lenp); void pf_writeps(font_info const *fi, FILE *ofp); +/* + * Backend functions exported by in_sfnt.c + */ +void sfnt_writeps(font_info const *fi, FILE *ofp); + #endif |