Add support for using TrueType fonts, including embedding in PostScript but
[sgt/halibut] / bk_pdf.c
index 99eb933..74944f0 100644 (file)
--- 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;