This content has been marked as final.
Show 4 replies
-
1. Re: HELP!!! PDF generation and unicode
rmemoria Oct 19, 2007 10:21 AM (in response to rmemoria)Hi guys,
It's really urgent!
Does anybody has a solution for that??? Anything!
Thanks, -
2. Re: HELP!!! PDF generation and unicode
dhinojosa Oct 19, 2007 1:20 PM (in response to rmemoria)What does the top declaration of your facelet page look like?
-
3. Re: HELP!!! PDF generation and unicode
rmemoria Oct 20, 2007 1:28 PM (in response to rmemoria)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. -
4. Re: HELP!!! PDF generation and unicode
jazir1979 Oct 21, 2007 11:19 PM (in response to rmemoria)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.