PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Help, Just Arial 12pt
   PostPosted: 10 Mar 2011, 17:11 
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


  Subject: Re: Help, Just Arial 12pt
   PostPosted: 11 Mar 2011, 10:38 
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?


  Subject: Re: Help, Just Arial 12pt
   PostPosted: 11 Mar 2011, 18:21 
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


  Subject: Re: Help, Just Arial 12pt
   PostPosted: 14 Mar 2011, 13:32 
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



[Reply]     [ 4 posts ] 

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share