Look! It's the time machine!

Paulo

----- Original Message ----- 
From: "Michal Langer" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, March 14, 2007 9:07 AM
Subject: [iText-questions] How encode cyrilic (azbuka) text?


How can I encode text to cyrilic (azbuka) text.
 I have cyrilic text encoded in UTF-16.
 When I used this code for encodin text, i can“t see anything in created pdf
 document.

 BaseFont baseFont = BaseFont.createFont(BaseFont.HELVETICA_BOLD,
  "UTF-16", BaseFont.EMBEDDED);
 Font font = new Font(baseFont, 9f);
 Paragraph title = new Paragraph("some text in cyrilic", font);
 document.add(title);

 Could you help me?

 Thanks. Michal


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/ 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to