Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26967

    We are using • in our html, which shows like a normal bullet when viewing the html in the browser. But when converted to pdf with pd4ml all bullets are shown as an question mark (?).

    #29605

    • entity corresponds to a symbol, which does not belong to Latin-1 character set. That means you need to utilize TTF embedding feature of PD4ML Pro.

    See:

    http://pd4ml.com/reference.htm#7.1
    pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.html
    http://pd4ml.com/cookbook/pd4ml_pdf_true_type_fonts.htm

    #29606

    I wandered why I didn’t find this problem sooner, and found out this problem is introduced between version 3.85fx6 and 3.91.

    I followed your advice and used TTF’s.
    I added the following code when creating the pdf.
    <br /> lPd4ml.useTTF("D:\Jakarta\tomcat-FEATURE2\server\webapps\ROOT\WEB-INF", true);<br />

    You can use the following to generate de pd4fonts.properties file:
    <br /> //Through commandline:<br /> java -jar pd4ml_demo.jar -configure.fonts c:WindowsFonts "D:Jakartatomcat-FEATURE2serverwebappsROOTWEB-INF"<br /> <br /> //Or by code:<br /> PD4Util.generateFontPropertiesFile("c:WindowsFonts", "D:\Jakarta\tomcat-FEATURE2\server\webapps\ROOT\WEB-INF");<br />

    And with this changes is everything now working again.
    Thank you for your help.

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.