Dear Paulo,
I want to create a unicode Text Field. Please see my
code and output pdf.
The text can dispaly very well. But, I can not type
text inside the adobe reader.
Please help.
Document document = new Document(PageSize.A4, 50, 50,
50, 50);
PdfWriter writer = PdfWriter.getInstance(document, new
FileOutputStream("text_fields_unicode.pdf"));
document.open();
TextField app = new TextField(writer, new
Rectangle(100, 700, 300, 725), "Dickens");
BaseFont bf =
BaseFont.createFont("c:\\windows\\fonts\\comic.ttf",
BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
app.setFont(bf);
String text= "Greeks: \u0393\u0394\u03b6";
app.setText(text);
PdfFormField field = app.getTextField();
writer.addAnnotation(field);
document.close();

Attachment:
text_fields_unicode.pdf