From 62be4468c8d814e5f66e5c2c7dc21a865bd91be3 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 3 Feb 2007 14:02:21 +0000 Subject: Add support for using TrueType fonts, including embedding in PostScript but not yet in PDF. There's a lot of cleaning up to be done, especially in the area of error, but I think it would be better committed gradually. [originally from svn r7198] --- input.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'input.c') diff --git a/input.c b/input.c index 66f4afa..337517d 100644 --- a/input.c +++ b/input.c @@ -1584,6 +1584,8 @@ struct { { "%!PS-AdobeFont-", 15, &read_pfa_file }, { "\x80\x01", 2, &read_pfb_file }, { "StartFontMetrics", 16, &read_afm_file }, + { "\x00\x01\x00\x00", 4, &read_sfnt_file }, + { "true", 4, &read_sfnt_file }, }; paragraph *read_input(input *in, indexdata *idx) { -- cgit v1.1