Hi,

I'd like to use itext for producing PDF with
text written in Czech language. The standard
encoding is ISO-859-2 for this language, but
Microsoft prefers its Windows-1250 variant,
which seems to be supported by itext.

I know from people using TeX, that it is not
easy to set this tool to produce PDF with text
correctly displayed for our language. I worry,
that java way might be even worse. Though its
unicode support.

So let me introduce my problem. I want to
write to PDF full list of czech characters.
But some of them are not displayed. If I dont
set encoding to 1250, they are skipped altogether.
If I set the encoding, they are displayed as space.

BaseFont helvetica = BaseFont.createFont("Helvetica", BaseFont.CP1250,
BaseFont.NOT_EMBEDDED);
Font font = new Font(helvetica, 12, Font.NORMAL);
document.add(new Paragraph("Nazdar Zdeňko. ěščřžýáíé E\u011bE", font));

Any idea, how to use central european characters
with iText and PDF and acrobat reader?

Thanks in advance! 

Have a nice day

        Leos




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id?66&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to