Forum Replies Created
-
AuthorPosts
-
in reply to: Convert html source to pdf March 26, 2014 at 19:02#29518
Thanks for your patient! I forgot to tell that I want to use this generation for an applet. I ti add the jad to my project and in the builder it seems that it is succesful, the fonts.jar has been signed and added to the lib folder of the applet. But when I try to create a pdf with the applet the fonts are not used. The color the size and every formatting is good but the font is wrong. What shuold be wrong? Thanks in advance!
in reply to: Convert html source to pdf March 26, 2014 at 18:35#29517Is this generation also work with demo jar?
in reply to: Convert html source to pdf March 26, 2014 at 13:59#29515Just one last question. We have text in the html source like this:
<font size="6" face="Arial">ŐŐŐŐŐőőőőőááéűúöüópőúéáűí </font>
But in the pdf it is wrong. The size is good, but the font is wrond and of course the encoding also wrong (hungarian).
I try to set :
pd4ml.useTTF("c:/Windows/Fonts", true);in warious format (case sensitive, use java font etc), but nothing helps. Thanks!
in reply to: Convert html source to pdf March 26, 2014 at 13:38#29514sorry
in reply to: Convert html source to pdf March 26, 2014 at 13:21#29512But it still landscape I use the cookbook for try:
pd4ml.setPageSize(pd4ml.changePageOrientation(PD4Constants.A4));in reply to: Convert html source to pdf March 26, 2014 at 13:12#29511you are right, iremove the close tags and I have the pages.
in reply to: Convert html source to pdf March 26, 2014 at 12:57#29509I try what you mention, but only one page were generated, maybe because I use the trial library. The other problem is that the generated page is a, A4 landscape but I set the page orientatio as it is mantioned is the cookbook
-
AuthorPosts
