Small tweak: add a /ProcSet array to the top-level /Resources dictionary,
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 26 Nov 2006 00:24:09 +0000 (00:24 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 26 Nov 2006 00:24:09 +0000 (00:24 +0000)
as recommended by the PDF spec.

git-svn-id: svn://svn.tartarus.org/sgt/halibut@6923 cda61777-01e9-0310-a592-d414129be87e

bk_pdf.c

index 6ce0e5a..5db36bf 100644 (file)
--- a/bk_pdf.c
+++ b/bk_pdf.c
@@ -132,7 +132,7 @@ void pdf_backend(paragraph *sourceform, keywordlist *keywords,
      * providing all the font objects and names to call them by.
      */
     font_index = 0;
-    objtext(resources, "<<\n/Font <<\n");
+    objtext(resources, "<<\n/ProcSet [/PDF/Text]\n/Font <<\n");
     for (fe = doc->fonts->head; fe; fe = fe->next) {
        char fname[40];
        int i, prev;