[gs-bugs] [Bug 691889] pdfwrite with "/PAGELABEL pdfmark" operator does not work with multiple pages

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Sat Jan 15 09:52:30 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=691889

Ken Sharp <ken.sharp at artifex.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Ken Sharp <ken.sharp at artifex.com> 2011-01-15 09:52:29 UTC ---
SaGS analysis is correct, I believe. I seem to recall looking into this before. 

As to making this work; since the original file is a PDF file, you can run each
page from the file individually. So you can set the PAGELABEL pdfmark for page
1, run page 1 from the original file, set the PAGELABEL for page 2, run page 2
from the original file and so on.

Because the label is (as SaGS) said applied to the current page, this should
correctly set the labels for each page in the output PDF file.
(caveat: I haven't actually tried this)

I'm less sure about constructing the PageLabels tree from scratch, but if it
works, then its a reasonable way to proceed.

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list