PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) PD4ML Tips & Tricks Problem in rendering PDF using HTML

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26390

    Hi,

    I am using PD4ML Pro to convert the HTML to PDF. The HTML whatever I’ve is created correctly but when I pass that HTML to PDF4ML to convert it as PDF it is not converting properly.

    1. I have configured the pd4fonts.properties.
    2. In my code am using, pdf4ml.usettf(“C:\Windows\Fonts”, true);

    I am attaching the sample HTML, pd4fonts.properties and the custom ttf file for reference. It would be great if someone can tell me what is going wrong when I convert to PDF.

    Regards,
    Nataraj

    #28023

    In your HTML you refer to Arial font:

    however in pd4fonts.properties there is no “Arial” entry. I’ve found only:

    ArialCV=ArialCV.ttf

    If you want to use ArialCV.ttf, you need either to change font references in HTML to ArialCV“> or the entry in pd4fonts.properties to

    Arial=ArialCV.ttf

    The second is recommended.

    #28024

    Hi,

    If you see the first entry in the pd4fonts.properties it has the following:-
    Arial=arial.ttf

    #28025

    Well, what kind of problem are you faced with?

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

The forum ‘PD4ML Tips & Tricks’ is closed to new topics and replies.