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] --- bk_pdf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bk_pdf.c') diff --git a/bk_pdf.c b/bk_pdf.c index 99eb933..74944f0 100644 --- a/bk_pdf.c +++ b/bk_pdf.c @@ -236,7 +236,7 @@ void pdf_backend(paragraph *sourceform, keywordlist *keywords, objtext(fontdesc, buf); sprintf(buf, "/StemV %g\n", fi->stemv); objtext(fontdesc, buf); - if (fi->fontfile) { + if (fi->fontfile && fi->filetype == TYPE1) { object *fontfile = new_object(&olist); size_t len; char *ffbuf; -- cgit v1.1