I am trying to generate a PDF file using dbforms and jasperreports (0.5.0) that contains UTF8 strings (in this case Thai). Currently I only see "?" for Thai characters.
Thinking the problem was font related I tried to embed a font with Thai support in the xxxx.xml file used by Jasper, but I can't seem to get any font except Helvetica to work. <font fontName="SansSerif" size="14" pdfFontName="Courier" pdfEncoding="Identity-H" isPdfEmbedded="true" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" /> Generates an error "exception found: Could not load font from location : Courier" If I change pdfFontName="Courier" to pdfFontName="Helvetica" then the report is generated (without UTF8 support) In short I have 2 questions, 1) How does font support work, especially in a webserver environment like tomcat 2) Has anyone used jasperreports under tomcat to generate UTF8 output ? - any pointers, examples ? Thanks Neal Katz I am using JDK 1.4, Tomcat 5.0.19, WinXP, and dbforms_2.2_20040222 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms