Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: PD4ML v3 to v4 migration: How to have the same rendering ?
    #33907

    Hi,

    I tried to embed the TTF to my document following the link https://pd4ml.tech/pdf-fonts/ but still have the same size (10 Ko).

    I also tried pd4ml.setHtmlWidth() for table truncation but does not solve the problem. However, pd4ml.adjustHtmlWidth(true) solved it.

    I still have 2 pages instead of one in my document.

    Could you please share the code source which you used for the document you generated?

    Regards,

    in reply to: PD4ML v3 to v4 migration: How to have the same rendering ?
    #33894

    Hello,

    Thank you for your response.

    I just tested with the recent snapshot and I confirm that it fixes the border issue 🙂

    Now the generated PDF is different from yours:
    – I have 2 pages instead of 1
    – The table is truncated in my PDF
    – The size of my PDF is 10 Ko and yours is 103 Ko

    Attached my generated doc.

    I use the PD4ML class as follow:

    {{EJS0-1}}
    

    Regards

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