HTML to PDF/RTF Java converter and tools Forums PD4ML Forums Technical questions / Troubleshooting V3 Rendering with 4.0.15 stuck at 6.5″ wide

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

    I’m using the code below with version 4.0.15 and the pageSize is “stuck” at 6.5″. When use an older version, 4.0.9fx, it renders correctly. I need to use 4.0.15 for ligature support. Any help is appreciated.

    PD4ML pd4ml = new PD4ML(); pd4ml.setPageInsets(new Insets(25, 50, 0, 25)); pd4ml.setPageSize(PD4ML.LETTER); File pdf = File.createTempFile("result", ".pdf"); FileOutputStream fos = new FileOutputStream(pdf); pd4ml.render(PD4MLV3API.class.getResource("/test.htm"), fos); Desktop.getDesktop().open(pdf);


    The issue is obviously depends on test.htm content. Can you please share it with us?


    File attached

    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.