Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Unicode not displaying

rachel kozlowski

2007-06-13

Replies:

Unicode not displaying

My jasperreport is displaying as /u2122 instead of a greater than equal sign.  What font could I use that would work?

JRDesignStyle normalStyle = new JRDesignStyle();

            normalStyle.setName(NORMAL_STYLE_KEY);

            normalStyle.setDefault(true);

            normalStyle.setFontName("Arial");

            normalStyle.setFontSize(12);

            normalStyle.setPdfFontName("Helvetica");

            normalStyle.setPdfEncoding("Cp1252");

            normalStyle.setPdfEmbedded(false);

            reportDesignObj.addStyle(normalStyle);

Rachel Kozlowski MS (CIS) MT (ASCP)

Software Engineer

Thomson Healthcare

Phone: (734) 669-7658

Fax: (734) 930-7611

www.thomsonhealthcare.com

rachel.kozlowski@thomson.com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.