Forum Replies Created
-
AuthorPosts
-
in reply to: Text on right side is cut away December 1, 2017 at 19:47#30116
Strange!
pd4ml.useTTF(“java:fonts”, true)
pd4ml.setDefaultTTFs(“Times New Roman”, “Arial”, “Courier New”)After adding this, I see (other as in “normal” pdf viewer) another font face but the margin is correct!
Very strange.in reply to: Text on right side is cut away December 1, 2017 at 19:42#30115It looks like the complete restriction of icePDF.
I added to the html code<meta http-equiv="Content-Type" content="text/html; charset=utf-8">downloaded your 32MB big fonts.jar and added pd4ml.useTTF(“java:fonts”, true)
I think this should embbed the required fonts?in reply to: Text on right side is cut away November 30, 2017 at 20:04#30112Sorry first thing I have to correct right is the margin 1 cm
In Adobe it looks correct. Also in other viewers.
Here is the file attached.
The issue is not only in icePDF. Also their is a similar issue with open OpenViewerFX.
OpenViewerFX cuts also the header and footer. The first line of the header is gone also the pagenumber in footer.
And the same issue at the right side.in reply to: Text on right side is cut away November 30, 2017 at 14:45#30110Hi
I tried a lot to display correct with icePDF. I attached an picture. Could you find anything out?in reply to: Text on right side is cut away November 9, 2017 at 21:34#30118Okay. I think that this helped.
3.78*210 for htmlWidth is correct?
And a complete other question. I am using the ice pdf viewer and this viewer shows me always the wrong margins on the right side. Do you have a suggestion for an goog pdfviewer?
Thank youin reply to: MetaData are ignored April 4, 2017 at 19:23in reply to: PDF page headers/footers definition options February 22, 2016 at 22:03#27291Sorry I think I found MY mistake
in reply to: PDF page headers/footers definition options February 22, 2016 at 21:57#27290Okay that looks like a bigger problem then estimated.
I have the same issue too.
I generate a complete header and footer.
Footer:
<pd4ml:page.footer scope="1"> <div style="background-color:red;"> <p style="" class="" id=""><br><br><br><br><br><br><br><br><br><br><br><br><br> <table align="center"> <tbody> <tr> <td>Inhaber:</td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td>Max Mustermann</td> <td>Straße 1</td> <td>Undso weiter</td> </tr> </tbody> </table> </div> </pd4ml:page.footer>
The footer is their (yeah) BUT! 🙁 I can only see Inhaber at the bottom of the page and also head footer is VERY high. I mean 1/2 of A4
On the other hand, the header is shown very accurate.
The complete html code here:
<pd4ml:page.header scope="1"> <div style="width:100%;background-color:yellow;"> <div> <img class="" id="" style="width:100mm;max-width:100mm;margin-left:10cm;" src="data:image/*;base64,...."> </div> </div> </pd4ml:page.header><pd4ml:page.footer scope="1"> <div style="background-color:red;"> <p style="" class="" id=""><br><br><br><br><br><br><br><br><br><br><br><br><br> <table align="center"> <tbody> <tr> <td>Inhaber:</td> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td>Max Mustermann</td> <td>Straße 1</td> <td>Undso weiter</td> </tr> </tbody> </table> </div> </pd4ml:page.footer><html> <head> <title>Footer</title> <style>.designChapter_1{}#chapter_-3343589119799051750{}.designChapter_1{}#chapter_-7878110909822710151{}</style> </head> <body> <div class="" style=""> <div class="" id="container_-6790600175644917974" style="width:10.5cm;margin-left:2cm;height:5mm;border:1px solid orange;font-size:7pt;"> <p style="" class="" id="">Intelligy Science UG | Am Neumarkt 30 | 22041 Hamburg </div> <div class="" id="container_-7299820427654925394" style="width:10.5cm;height:12.7mm;border:1px solid red;margin-left:2cm;float:left;"></div> <div class="" id="container_-5695738824325508680" style="width:10.5cm;margin-left:2cm;height:27.3mm;border:1px solid blue;float:left;font-size:10pt;"> <p style="" class="" id="">#kontaktFirma#<br>#kontaktVorname# #kontaktNachname#<br>#kontaktStraße# #kontaktHausnummer#<br><br>#kontaktPLZ# #kontaktOrt# </div> <div class="" id="container_-5799771009836692084" style="border:1px solid green;margin-left:12.5cm;margin-right:1cm;font-size:9pt;text-align:left;width:20cm;float:left;margin-top:-4cm;height:-1cm;"> <p style="" class="" id="">Intelligy Science<br>Straße<br>22041 Hamburg<br><br>Telefon: <br>Fax: <br><br>E-Mail: <br>Web: </div> <div class="" id="container_-109430433127867131" style="clear:both;"></div> <div class="" id="container_-4697751580106713612" style="width:7.5cm;margin-left:2cm;border:1px solid magenta;margin-top:2.5cm;height:3.5cm;"></div> <div class="" id="container_-8586357502960676866" style="width:12.5cm;border:1px solid yellow;margin-left:7.5cm;margin-top:2.5cm;height:3.5cm;"></div> </div> <div class="designChapter_1" style=""></div> <div class="designChapter_1" style=""></div> </body> </html>The version I am using is 3.9.8fx3 Pro
Any Idea?
-
AuthorPosts
