summaryrefslogtreecommitdiff
path: root/in_afm.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 /in_afm.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 'in_afm.c')
-rw-r--r--in_afm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/in_afm.c b/in_afm.c
index d0b2088..b2aacae 100644
--- a/in_afm.c
+++ b/in_afm.c
@@ -56,7 +56,7 @@ void read_afm_file(input *in) {
fi = snew(font_info);
fi->name = NULL;
fi->widths = newtree234(width_cmp);
- fi->fp = NULL;
+ fi->fontfile = NULL;
fi->kerns = newtree234(kern_cmp);
fi->ligs = newtree234(lig_cmp);
fi->fontbbox[0] = fi->fontbbox[1] = fi->fontbbox[2] = fi->fontbbox[3] = 0;