Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #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);

    #35875

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

    #35876

    File attached

    Attachments:
    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.