Have a look at http://prdownloads.sourceforge.net/jfreechart/jfreechart2pdf-v2.pdf?download. It's for CJK fonts but the same principle applies to polish fonts.
Paulo > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Piotr Górski > Sent: Monday, April 03, 2006 1:34 PM > To: [email protected] > Subject: [iText-questions] polish fonts in drawString() method > > Hi, > I am able to print polish fonts in pdf with: > String text = "Some polish characters: \u0105\u0107\u00f3\u017c" > document.add(new Paragraph(text,font)); > > I also can generate polish characters through: > Graphics2D g2d = cb.createGraphicsShapes(w,h); > But quality of printed strings is too low. > > I have to print those strings with drawString() method in > awt.java.Graphics2D or com.lowagie.text.pdf.PdfGraphics2D > I tried almost everything which I found on mailing lists and google. > > Unluckily with no result. > Of course I have a true type font with polish characters. > > Is there any working solution ? I will be really grateful. > Best Regards, > Piotr Górski > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > dat=121642 > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
