[jboss-user] [JBoss Seam] - Re: HELP!!! PDF generation and unicode

jazir1979 do-not-reply at jboss.com
Sun Oct 21 23:19:40 EDT 2007


I believe it's a PDF font issue, I had the same problem in jasper reports which also uses iText, and had no luck after trying to use their asian fonts JAR to get chinese characters.
 
See here: http://itextdocs.lowagie.com/tutorial/fonts/index.php 
 
Post back if you have any success...


"rmemoria" wrote : Hi,
  | 
  | It's like that:
  | 
  | <?xml version="1.0" encoding="iso-8859-1"?> 
  |   | <p:document xmlns:ui="http://java.sun.com/jsf/facelets" 
  |   |         xmlns:f="http://java.sun.com/jsf/core"
  |   |       	xmlns:c="http://java.sun.com/jstl/core"
  |   |         xmlns:p="http://jboss.com/products/seam/pdf"
  |   |         orientation="landscape">
  |   | 
  |   |     <f:facet name="header">
  |   |         <p:font size="6">
  |   |             <p:footer borderWidthTop="1" alignment="left">Drug Management System [<p:pageNumber />]</p:footer>
  |   |         </p:font>
  |   |     </f:facet>
  | 
  | The encoding is thesame I use in my xhtml pages, but in PDFs the special unicode chars aren't displayed.
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097300#4097300

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097300



More information about the jboss-user mailing list