From 76b522bc5aac82f7d1c0e3433f1620a7a192bdad Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 9 Dec 2006 14:44:47 +0000 Subject: 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] --- halibut.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'halibut.h') 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 */ }; -- cgit v1.1