summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2006-11-26 00:24:09 +0000
committerBen Harris <bjh21@bjh21.me.uk>2006-11-26 00:24:09 +0000
commitda220fbe08eb8e645fca258eda9ee9d9c32e48b7 (patch)
tree9e9d67b0ce1e0310e119ffa8a36f261c21471a13
parent3f0ae6f31dfbac76fc991a5a027759331d4c6b49 (diff)
downloadhalibut-da220fbe08eb8e645fca258eda9ee9d9c32e48b7.zip
halibut-da220fbe08eb8e645fca258eda9ee9d9c32e48b7.tar.gz
halibut-da220fbe08eb8e645fca258eda9ee9d9c32e48b7.tar.bz2
halibut-da220fbe08eb8e645fca258eda9ee9d9c32e48b7.tar.xz
Small tweak: add a /ProcSet array to the top-level /Resources dictionary,
as recommended by the PDF spec. [originally from svn r6923]
-rw-r--r--bk_pdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bk_pdf.c b/bk_pdf.c
index 6ce0e5a..5db36bf 100644
--- 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;