Hi everybody!

I'm trying to get some russian characters (or actually
whatever tricky characters into PDF). So for starters
I took the simple example from iText tutorial and tried
with a couple of russian characters:

BaseFont bfComic = BaseFont.createFont("c:\\winnt\\fonts\\comic.ttf",
            BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
Font font = new Font(bfComic, 12);
String text2 = "Some russian characters: \u1081\u1094";
document.add(new Paragraph(text1, font));
document.add(new Paragraph(text2, font));
document.add(new Paragraph(text3, font));

In the resulting file nothing was displayed where those
russiona characters should have been displayed.
I tried with different fonts, still didn't work. However,
displaying some greek characters instead worked.
Any help would greatly appreciated!

Jass


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to