~mdw
/
sgt
/
halibut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9125d0f
)
Explicitly set the title via pdfmark, since that allows us to put
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 10 Dec 2006 22:11:35 +0000
(22:11 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 10 Dec 2006 22:11:35 +0000
(22:11 +0000)
in Unicode, which we can't (reliably) in %%Title.
git-svn-id: svn://svn.tartarus.org/sgt/halibut@6987
cda61777
-01e9-0310-a592-
d414129be87e
bk_ps.c
patch
|
blob
|
blame
|
history
diff --git
a/bk_ps.c
b/bk_ps.c
index
41b70d2
..
4e47767
100644
(file)
--- a/
bk_ps.c
+++ b/
bk_ps.c
@@
-164,6
+164,11
@@
void ps_backend(paragraph *sourceform, keywordlist *keywords,
int titlelen, count, i;
title = pdf_outline_convert(oe->pdata->outline_title, &titlelen);
+ if (oe->level == 0) {
+ fprintf(fp, " [/Title");
+ ps_string_len(fp, title, titlelen);
+ fprintf(fp, "/DOCINFO pdfmark\n");
+ }
count = 0;
for (i = 1; i < noe && oe[i].level > oe->level; i++)