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

    Hi Masters,

    help me please i need that all my document except header and footer are in Arial of 12 in size its maybe simple but i don’t know.
    the code i am using is:

    pd4ml.useTTF(“java:fonts”,true);
    pd4ml.setDefaultTTFs(“Arial”, “Arial”, “Arial”);

    help me with some clue, thanks

    #28447

    First I would recommend to comment
    pd4ml.setDefaultTTFs(“Arial”, “Arial”, “Arial”);
    out.

    pd4ml.useTTF(“java:fonts”,true);
    requires a JAR with fonts in the classpath. Is there one?

    #28448

    @PD4ML wrote:

    First I would recommend to comment
    pd4ml.setDefaultTTFs(“Arial”, “Arial”, “Arial”);
    out.

    pd4ml.useTTF(“java:fonts”,true);
    requires a JAR with fonts in the classpath. Is there one?

    OK but also need that all the text is formatted on 12 point in size of the font, Arial 12pts is there any command or method for this ???

    Thanks for your time

    #28449

    I guess I got what the problem you faced with. It is not with the font face, but with the font size.

    Does the hint help?
    html-css-to-pdf-rendering-issues-f3/font-size-wierdness-t109.html

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

The forum ‘General questions / FAQ’ is closed to new topics and replies.