I have been looking at a PDF file today which has a rather ‘interesting’ feature. If you look at the screenshot, you will see that in Mac Preview, the text is white, whereas in Acrobat 9.0 it is black…
The reason that Preview is displaying it white is because the color is set outside the text command block. I presume that Acrobat is ignoring the color setting for exactly the same reason. Acrobat goes to great lengths to try and clean up sloppy PDFs and display them rather than enforce the specification. Interestingly in Acrobat on one of our Windows boxes, the text is white…
This post is part of our “Understanding the PDF File Format” series. In each article, we discuss a PDF feature, bug, gotcha or tip. If you wish to learn more about PDF, we have 13 years worth of PDF knowledge and tips, so click here to visit our series index!
Can we help you to solve any of these problems?
IDRsolutions has been helping companies to solve these problems since 1999.
|Convert PDF to HTML5 or SVG||Convert PDF forms to HTML5|
|Java SDK for Image files||Java SDK for PDF files|