diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2006-05-13 13:56:05 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2006-05-13 13:56:05 +0000 |
| commit | c072eb7debe80aca352a5dc26bff08a6ecd8baff (patch) | |
| tree | 18c4cff9d3257803ec49535179ead154ffd3a4c6 /halibut.h | |
| parent | 1d9065a073a8f8ac707a6fa2e7683755f1b82df0 (diff) | |
| download | halibut-c072eb7debe80aca352a5dc26bff08a6ecd8baff.zip halibut-c072eb7debe80aca352a5dc26bff08a6ecd8baff.tar.gz halibut-c072eb7debe80aca352a5dc26bff08a6ecd8baff.tar.bz2 halibut-c072eb7debe80aca352a5dc26bff08a6ecd8baff.tar.xz | |
Initial support for adding fonts at run-time. Currently we only support
loading AFM files, we recognise them by name, and we can't embed fonts in
the output (which is also invalid, though accepted by xpdf, in the PDF case).
Oh, and there's no documentation. Still, it's a start.
[originally from svn r6681]
Diffstat (limited to 'halibut.h')
| -rw-r--r-- | halibut.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -243,7 +243,11 @@ enum { err_text_codeline, /* \c line too long in text backend */ err_htmlver, /* unrecognised HTML version keyword */ err_charset, /* unrecognised character set name */ - err_nofont, /* unrecognised font name */ + err_nofont, /* unrecognised font name */ + err_afmeof, /* eof in AFM file */ + err_afmkey, /* missing expected keyword in AFM */ + err_afmvers, /* unsupported AFM version */ + err_afmval, /* missing value(s) for AFM key */ err_whatever /* random error of another type */ }; @@ -382,6 +386,11 @@ paragraph *cmdline_cfg_simple(char *string, ...); paragraph *read_input(input *in, indexdata *idx); /* + * in_afm.c + */ +void read_afm_file(input *in); + +/* * keywords.c */ struct keywordlist_Tag { |