Looks like no one’s replied in a while. To start the conversation again, simply ask a new 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.


http://www.jdawiseman.com/papers/bugs/20150923_FitR_bug.pdf

is a PDF made by distilling, using Adobe Distiller XI, a hand-written short helpfully-commented PostScript program.

http://www.jdawiseman.com/papers/bugs/20150923_FitR_bug.ps

(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

http://www.jdawiseman.com/papers/bugs/20150923_FitR_bug_Preview.png

User uploaded file

but in Adobe Reader DC 2015.008.20082 (and in the versions for at least three years) in looks like

http://www.jdawiseman.com/papers/bugs/20150923_FitR_bug_AdobeReader.png

User uploaded file


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.)

iMac

Posted on Sep 23, 2015 4:39 AM

Reply
10 replies

There are no replies.

Preview ignoring some info in PDF table of content/sidebar

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.