summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2007-02-03 14:02:21 +0000
committerBen Harris <bjh21@bjh21.me.uk>2007-02-03 14:02:21 +0000
commit62be4468c8d814e5f66e5c2c7dc21a865bd91be3 (patch)
tree80cbf5a16541aba4e059199ddecee1604d7b1a64 /input.c
parent00a9dfeae70a670a881f1af41dbe32833dfa6dc5 (diff)
downloadhalibut-62be4468c8d814e5f66e5c2c7dc21a865bd91be3.zip
halibut-62be4468c8d814e5f66e5c2c7dc21a865bd91be3.tar.gz
halibut-62be4468c8d814e5f66e5c2c7dc21a865bd91be3.tar.bz2
halibut-62be4468c8d814e5f66e5c2c7dc21a865bd91be3.tar.xz
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]
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 2 insertions, 0 deletions
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) {