I received a report today that our PDF wasn't showing plain text in Firefox's built-in PDF viewer. It showed the message "This PDF document might not be displayed correctly." and only bold or italic text was appearing. The rest was blank.
After some further digging, I noted that this only happened when the PDF was generated on a Windows 2012 server. When I generate the same PDF on Windows 7, even Firefox renders it correctly. I understand from some other posts that the Firefox viewer can be flaky but, since it also seems to be tied to the OS, I thought I should submit a report. I'm currently using Firefox 26.
In the attached ZIP, you'll find a slimmed down version of the PDF I created for testing. I did my best to copy the example font usage from the documentation to ensure I wasn't messing anything up.
I ran the same command to generate the PDF on both OSes and received the same verbose output.
Any help you can offer with this issue would be greatly appreciated.
After some further digging, I noted that this only happened when the PDF was generated on a Windows 2012 server. When I generate the same PDF on Windows 7, even Firefox renders it correctly. I understand from some other posts that the Firefox viewer can be flaky but, since it also seems to be tied to the OS, I thought I should submit a report. I'm currently using Firefox 26.
In the attached ZIP, you'll find a slimmed down version of the PDF I created for testing. I did my best to copy the example font usage from the documentation to ensure I wasn't messing anything up.
PS C:\Users\jcampbell\Desktop\prince-test> & 'C:\Program Files (x86)\Prince\Engine\bin\prince.exe' .\test.html -s .\path.css -v -o path2012.pdf
prince: Loading document...
prince: loading HTML5 input: .\test.html
prince: loading document: .\test.html
prince: Applying style sheets...
prince: loading style sheet: .\path.css
prince: Preparing document...
prince: Converting document...
prince: used font: Verdana, Bold
prince: used font: Verdana, Bold Italic
prince: used font: Verdana, Regular
prince: Finished: success
I ran the same command to generate the PDF on both OSes and received the same verbose output.
Any help you can offer with this issue would be greatly appreciated.