Re: [iText-questions] national characters in iText pdf / android app pdf

2014-01-05 Thread e...@wri.pl
It doesn't work. I tried this BaseFont bf = BaseFont.createFont("assets/fonts/arial.ttf", BaseFont.CP1250, BaseFont.EMBEDDED); Font font = new Font(bf, 12); String polish = "\u0104\u0105\u0106\u0107\u0118\u0119"; doc.add(new Paragraph(polish, font)); -- View this message in context: h

Re: [iText-questions] national characters in iText pdf / android app pdf

2014-01-04 Thread iText mailing list
On 1/4/2014 3:19 PM, e...@wri.pl wrote: > For example łąóż, this char are not display. Never use UNICODE in source code the way you do. Always use the \u notation. For instance, never write: String text = "AêñüC"; Instead write: String text = "A\u00ea\u00f1\u00fcC"; That way you avoid all kin

[iText-questions] national characters in iText pdf / android app pdf

2014-01-04 Thread e...@wri.pl
I use iText to generate pdf in my android app. I have problem with national polish char. For example łąóż, this char are not display. Font is properly imported, problem is only with encoding polish's characters doc.open(); BaseFont bf = BaseFont.createFont("assets/fonts/arial.ttf", BaseF

RE: [iText-questions] national characters

2002-05-15 Thread Paulo Soares
Does the character exist in the font? What encoding are you using when creating the BaseFont? Best Regards, Paulo Soares > -Original Message- > From: Marek Sarnovsky [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 7:39 > To: iText Mailinglist > Subject: [

[iText-questions] national characters

2002-05-14 Thread Marek Sarnovsky
Title: Message Hi   I have a problem with national characters. Actually, most of them appear in pdf correctly. Just z,t,r with diacrital mark "circumflex" don't work with embedded fonts. How can I fix that in embedded fonts? Does anybody know about pdf file viewer with the preview and print