Forum Replies Created
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
in reply to: Problem when creating the PDF with Korean characters August 12, 2010 at 09:48#28178
Thanks.
I found the error reason. Actually, I copied the font directory but now I regenerated the font file, compiled it, and it looks fine.in reply to: Problem when creating the PDF with Korean characters August 12, 2010 at 04:48#28176I am following your order, but the same problem happened.
I am in a hurry. If this tool is ok, I wanna purchase it.
Please help me.
For reference, my code is as follows:<%@ taglib uri="/WEB-INF/tlds/pd4ml.tld" prefix="pd4ml" %> <%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> <pd4ml:transform screenWidth="400" pageFormat="A4" pageOrientation="portrait" pageInsets="15,15,15,15,mm" inline="true" debug="true" > <!-- TODO: 1. adjust fonts directory below. 2. make sure that the directory contains pd4fonts.properties file 3. for more info see PD4ML.useTTF( String, boolean ) Java API docs --> <pd4ml:usettf from="c:fonts" serif="Dotum" sansserif="Dotum" monospace="Dotum" /> <html> <head> <title>PD4ML embedded fonts test</title> <META http-equiv=Content-Type content="text/html; charset=UTF-8"> <title>title</title> <pd4ml:header areaHeight="50"> <font face="Arial" size="2">Header test.<br> ($[page]) of (총 $[total])</font> </pd4ml:header> </head> <body> <font face="Arial" >Hello, World!</font><br> <font face="Times New Roman" size="4">Hello, World!</font><br> <font face="Arial Bold">Hello, World!</font><br> <font face="Dotum">테스트</font><br> <font face="Batang">헬로우</font><br> <TABLE border="0" cellpadding="0" cellspacing="0" class="list_common" style="margin-right:-18px" id=tbl> <TR> <TD>aaa</TD> <TD>bbb</TD> <TD>ccc</TD> </TR> <TR> <TD>111</TD> <TD>222</TD> <TD>333</TD> </TR> </TABLE> </body> </html> </pd4ml:transform>
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
