Question: Preview ignoring some info in PDF table of content/sidebar
The following was just submitted as bug 22817830, and might be of interest to others.
This bug is about two omissions in Preview’s handling of PDF files (Mac Preview 8.0 (859.21) under Yosemite 10.10.5).
A minimal example has been prepared to illustrate the problem.
is a PDF made by distilling, using Adobe Distiller XI, a hand-written short helpfully-commented PostScript program.
(The structures in the PDF closely follow ‘pdfmark’s in the PostScript; hence supply of PostScript file to show the elements being ignored by Preview.)
Open the PDF in Preview, and in any version of Adobe Reader. There is a sidebar, a table of contents. The elements of the sidebar jump to name ‘Dest’inations within the file. Each destination is a zoom-in to a coloured rectangle. In Adobe, clicking on the sidebar jumps to a zoom-in of the rectangle. So far, so good.
But in Preview this doesn’t work. It goes to the page containing the rectangle, but Preview ignores the ‘FitR’ zoom region. It fails to zoom to the correct place on the page. Indeed, it fails to zoom at all.
Please could this be fixed.
Again inspect the sidebar, a table of contents. In Preview these look like
but in Adobe Reader DC 2015.008.20082 (and in the versions for at least three years) in looks like
Observe that Preview is ignoring the bold/italic commands, which in the PostScript are
the ‘/F’ parameters (0=Plain, 1=Italic, 2=Bold, 3=Both).
Also observe that there is an omission in both Preview and Adobe: both are ignoring the ‘/Color’ parameters.
Please could Preview heed all this currently-ignored information.
(Also see https://discussions.apple.com/thread/5317016 re earlier comment on missing bod/italic formatting.)