summaryrefslogtreecommitdiff
path: root/halibut.h
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2006-05-13 13:56:05 +0000
committerBen Harris <bjh21@bjh21.me.uk>2006-05-13 13:56:05 +0000
commitc072eb7debe80aca352a5dc26bff08a6ecd8baff (patch)
tree18c4cff9d3257803ec49535179ead154ffd3a4c6 /halibut.h
parent1d9065a073a8f8ac707a6fa2e7683755f1b82df0 (diff)
downloadhalibut-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.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/halibut.h b/halibut.h
index 36ad929..eb62b9e 100644
--- a/halibut.h
+++ b/halibut.h
@@ -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 {