PDF Forum - doPDF » Troubleshooting

Generated PDF contains unreadable text

(4 posts)
  1. wroberte

    new member
    Joined: Aug '09
    Posts: 2

    Generated PDF contains garbled characters.

    For example, go to the following webpage:
    http://java.sun.com/developer/technicalArticles/mysql_java/

    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.

    Posted 1 year ago #
  2. wroberte

    new member
    Joined: Aug '09
    Posts: 2

    Update:
    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 2.0.172.43 and Opera 9.64.

    I've reported this to the Firefox support site:
    http://support.mozilla.com/tiki-view_forum_thread.php?comments_parentId=435061&forumId=1

    Posted 1 year ago #
  3. Softland

    PDF Converter
    Joined: May '08
    Posts: 659

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

    Posted 1 year ago #
  4. abax

    new member
    Joined: Sep '09
    Posts: 1

    FWIW, exactly the same garbled code fragments occur when using PDFCreator instead of doPDF (http://sourceforge.net/projects/pdfcreator/) from FF 3.5.2. Using IE works ok (both doPDF & PDFCreator).
    Edit:
    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;
    }

    Posted 11 months ago #

RSS feed for this topic

Reply

You must log in to post.