summaryrefslogtreecommitdiff
path: root/in_pf.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 /in_pf.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 'in_pf.c')
-rw-r--r--in_pf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/in_pf.c b/in_pf.c
index 3df6d37..0867376 100644
--- a/in_pf.c
+++ b/in_pf.c
@@ -197,6 +197,7 @@ static void pf_identify(t1_font *tf) {
for (fi = all_fonts; fi; fi = fi->next) {
if (strcmp(fi->name, fontname) == 0) {
fi->fontfile = tf;
+ fi->filetype = TYPE1;
sfree(fontname);
return;
}