Generated PDF contains unreadable text

Post here if you have problems installing or using doPDF.
Posts: 2
Joined: Sun Aug 30, 2009 3:35 am

Postby wroberte » Sun Aug 30, 2009 10:53 am

Generated PDF contains garbled characters.

For example, go to the following webpage:

You should get a webpage with an article entitled "Using the MySQL Connector/J JDBC Driver With the Java SE Platform".

Click "Print-friendly Version" in the upper right corner and create a PDF via doPDF.

When the PDF is generated, the "code fragments" shown in the light-blue shaded areas on the source webpage are illegible garbage.

Why does this happen and how can I fix it?

Other than this problem, doPDF is a great product.

Running on Win XP Pro SP3 with Version 6.3 Build 308.

Posts: 2
Joined: Sun Aug 30, 2009 3:35 am

Postby wroberte » Sun Aug 30, 2009 11:25 pm


The problem only seems to occur when using Firefox (currently using Firefox 3.5.2) to initiate printing via doPDF. PDF files are generated with legible text when printing is done from Internet Explorer 7.0.5730.11, Google Chrome and Opera 9.64.

I've reported this to the Firefox support site:

Claudiu (Softland)
Posts: 1492
Joined: Thu May 23, 2013 7:19 am

Postby Claudiu (Softland) » Mon Aug 31, 2009 2:29 pm

Thanks for letting us know, if someone else runs into the same problem we'll know to direct them to the firefox support site.

Posts: 1
Joined: Fri Sep 11, 2009 6:05 am

Postby abax » Fri Sep 11, 2009 1:13 pm

FWIW, exactly the same garbled code fragments occur when using PDFCreator instead of doPDF ( from FF 3.5.2. Using IE works ok (both doPDF & PDFCreator).


I found out that the garbled text is caused by the ccs-style of the code fragment:

code, kbd, tt, pre {

font-family:Monaco,Courier,"Courier New",monospace;


Removing the Monaco and Courier fonts solves the problem.

code, kbd, tt, pre {

font-family:"Courier New",monospace;


Return to “Troubleshooting”