franz wrote: > Hi all, > > I've found some questions about the problem, but no working solution (in > the web or the itext-qustions-archive): > I have a problem by painting a polish text into the graphics-object > (created with pdfTemplate.createGraphics(...)): > I'm getting the texts from the database; texts should be encoded in > ISO-8859-2. I change that by using a CharsetDecoder. > While itext prints this pretty using a a Paragraph, and Java in a simple > awt-App too, i cant't display some Characters with the "itext-Graphics". > Consider that I'm checking, whether the used Font "canDisplay" the > Character. > The Font says: yes, but the Charcers are not shown. I've appended the > sample - results. > I would be pleased to receive a solution. Thanks! > Here's the Code:
This line is wrong: > DefaultFontMapper mapper= new DefaultFontMapper(); Use an adapted font mapper! http://1t3xt.be/?X54a -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
