special characters in droidText - Android

418 Views Asked by At

I need to use special characters like "ç", "á"... but nothing works.

Part of the code:

Paragraph title = new Paragraph();

com.lowagie.text.Font fontTitle= FontFactory.getFont("Arial", BaseFont.IDENTITY_H, BaseFont.EMBEDDED, 15, Font.BOLD);

title.add(new Paragraph("ç", fontTtile));

document.add(title);

Using IDENTITY_H and EMBEDDED the pdf doesn't work, but if I just use ("Arial", 15, Font.BOLD) it works (special characters don't).

How can I fix it?

Thanks.

0

There are 0 best solutions below