PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: JSP -> PDF conversion turkish char problem
   PostPosted: 16 Jul 2010, 11:12 
Hello,
I am tring to get a PDF report from a java web project. I am using eclipse helios tomcat server 7.0.
What I am tring to do is getting a html report as pdf. The jsp taglib seems great but i have a problem at Turkish chars (they don't shown right at pdf reports).
I have downloaded pd4ml.pro.trial.361b1.zip and added the taglib project to eclipse.
But the jsp file doesn't give me a correct chars.
Code:
<%@ taglib uri="http://pd4ml.com/tlds/pd4ml/2.6" prefix="pd4ml"%>
<%@page   contentType="text/html; charset=UTF-8"%>
<pd4ml:transform screenWidth="400" pageFormat="A5"
   pageOrientation="landscape" pageInsets="100,100,100,100,points"
   enableImageSplit="false">

   <html>
   <head>
   <title>pd4ml test</title>
   <style type="text/css">
body {
   color: #000000;
   background-color: #FFFFFF;
   font-family: Tahoma, "Sans-Serif";
   font-size: 10pt;
}
</style>
   </head>
   <body>

   Hello, World! ıüöİÖÜŞşÇç

   <pd4ml:page.break />

   Hello, New Page!

   </body>
   </html>
</pd4ml:transform>

Any help would be great.


  Subject: Re: JSP -> PDF conversion turkish char problem
   PostPosted: 17 Aug 2010, 14:11 
By default PD4ML supports Latin-1 charset only. In order to convert international documents you need to configure and utilize TTF embedding feature of PD4ML Pro.



[Reply]     [ 2 posts ] 

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