Hi Resul, there's a blog post about you: http://lowagie.com/node/76
You've now respected rule #4, but you're still in violation with rule #3. Hence this copy/paste: You have posted a mail to [email protected] but you weren't subscribed. You are receiving this answer because I've added your mail address in Bcc: I will do this only once! Further answers will be sent to the mailing-list only (you won't receive them if you don't subscribe). Further questions to the mailing-list will be rejected unless you subscribe. Further questions sent to the 1t3xt address will be ignored. Please understand that, as long as you don't subscribe, somebody has to MANUALLY approve your mail among a huge load of SPAM. You can help us avoid this boring administrative job by following the rules: http://itextpdf.com/support.php Op 10/02/2011 15:07, Resul GENC schreef: > hi all, > How could one print the unicode characters of an object, that is > created with graphics2d class, by using drawstring method? (e.g. Ş, Ç, > İ) And now let's take a look at your question: there are different strategies to draw unicode characters using drawString(). They are all explained in chapter 14 of the book "iText in Action - Second edition". See for instance: An example how NOT to do it, and how to do it CORRECTLY: http://www.flickr.com/photos/itextinaction/4483473469 An example showing the differences between THREE DIFFERENT STRATEGIES: http://www.flickr.com/photos/itextinaction/4484123898 Two more different approaches: http://www.flickr.com/photos/itextinaction/4483473429 These are figures taken from section 14.5.2 entitled "Drawing text to PdfGraphics2D." Subtitles are "Using a FontMapper" and "Choosing a different encoding" which is exactly what you need; although you'll have to study the different approaches to find out which one is the best match for your requirement. This section counts 7 pages AND the book isn't free, please don't ask me copy that chapter in a mail. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
