summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2007-01-27 20:47:41 +0000
committerBen Harris <bjh21@bjh21.me.uk>2007-01-27 20:47:41 +0000
commit72d22e8a1a1b47635e1b8da49ae703bde01228f2 (patch)
tree64b4c37716491d55c10c4287c473e6d6715da7dd /input.c
parent2641476245d6cb1e9e85d37c6c539741aff2800d (diff)
downloadhalibut-72d22e8a1a1b47635e1b8da49ae703bde01228f2.zip
halibut-72d22e8a1a1b47635e1b8da49ae703bde01228f2.tar.gz
halibut-72d22e8a1a1b47635e1b8da49ae703bde01228f2.tar.bz2
halibut-72d22e8a1a1b47635e1b8da49ae703bde01228f2.tar.xz
Add support for PFB files. This seems to have caused me to completely
rewrite the Type 1 font support, and I'm sure the result is more complex than it needs to be, but it seems to work correctly, so I shouldn't complain. [originally from svn r7175]
Diffstat (limited to 'input.c')
-rw-r--r--input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input.c b/input.c
index a677129..66f4afa 100644
--- a/input.c
+++ b/input.c
@@ -1582,6 +1582,7 @@ struct {
} magics[] = {
{ "%!FontType1-", 12, &read_pfa_file },
{ "%!PS-AdobeFont-", 15, &read_pfa_file },
+ { "\x80\x01", 2, &read_pfb_file },
{ "StartFontMetrics", 16, &read_afm_file },
};