Svensson Robert wrote: > Hi we use iText to create a pdf of our product detail information. The > problem is when we have countries that have special characters like Litauen.
Which font and which encoding are you using? > Is there a work around this problem? Yes: you need to select a font that has the glyphs you need, and you have to make sure you're using the correct encoding. The encoding has to be correct on every level: - when you're getting the String from a database, the encoding has to be set correctly. - when the String is hard coded, the encoding has to be set correctly. - when you create a Font/BaseFont object, the encoding has to be set correctly. It would lead us too far to explain all of this in a single mail, but fortunately this is all covered in http://itextpdf.com/book/ -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ 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/
