summaryrefslogtreecommitdiff
path: root/halibut.h
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2006-12-09 14:44:47 +0000
committerBen Harris <bjh21@bjh21.me.uk>2006-12-09 14:44:47 +0000
commit76b522bc5aac82f7d1c0e3433f1620a7a192bdad (patch)
tree3096ba08982d23b7ea63a83649360f490acb20d4 /halibut.h
parent92242aeaf21903a4c5a12a7c74eb77fcd7158a52 (diff)
downloadhalibut-76b522bc5aac82f7d1c0e3433f1620a7a192bdad.zip
halibut-76b522bc5aac82f7d1c0e3433f1620a7a192bdad.tar.gz
halibut-76b522bc5aac82f7d1c0e3433f1620a7a192bdad.tar.bz2
halibut-76b522bc5aac82f7d1c0e3433f1620a7a192bdad.tar.xz
Correct embedding of Type 1 fonts in PDF. Error cases (e.g. invalid Type 1
fonts) may not be well handled, and may emit invalid PDF. [originally from svn r6974]
Diffstat (limited to 'halibut.h')
-rw-r--r--halibut.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/halibut.h b/halibut.h
index 5898a8e..3cb1ed7 100644
--- a/halibut.h
+++ b/halibut.h
@@ -248,6 +248,10 @@ enum {
err_afmkey, /* missing expected keyword in AFM */
err_afmvers, /* unsupported AFM version */
err_afmval, /* missing value(s) for AFM key */
+ err_pfeof, /* eof in Type 1 font file */
+ err_pfhead, /* bad Type 1 header line */
+ err_pfbad, /* otherwise invalide Type 1 font */
+ err_pfnoafm, /* Type 1 font but no AFM */
err_whatever /* random error of another type */
};