From 6c660b39aeae18c4652a48318bff3373bb535d92 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 11 Feb 2007 15:19:10 +0000 Subject: Improved error handling in sfnt support. No more calls to abort()! [originally from svn r7269] --- halibut.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'halibut.h') diff --git a/halibut.h b/halibut.h index 5a6c8fd..6874bf0 100644 --- a/halibut.h +++ b/halibut.h @@ -254,6 +254,12 @@ enum { err_pfbad, /* otherwise invalide Type 1 font */ err_pfnoafm, /* Type 1 font but no AFM */ err_chmnames, /* need both or neither of hhp+chm */ + err_sfntnotable, /* required sfnt table missing */ + err_sfntnopsname, /* sfnt has no PostScript name */ + err_sfntbadtable, /* sfnt table not valid */ + err_sfntnounicmap, /* sfnt has no UCS-2 cmap */ + err_sfnttablevers, /* sfnt table version unknown */ + err_sfntbadhdr, /* sfnt has bad header */ err_whatever /* random error of another type */ }; -- cgit v1.1