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
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
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
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: [
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