What font are you using? The built-in fonts don't have those characters, you'll have to embedd an external font.
Paulo > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Priyesh S Patel > Sent: Tuesday, July 18, 2006 3:42 PM > To: itext-questions > Subject: [iText-questions] encoding problem for ISO-8859-2 > > there are 2 Czech Repubic characters which are getting > wrongly printed in the generated pdf.Here's my analysis on it > > PFA the latest pdf which gets generated (after setting the > encoding "i.e. ISO-8859-2 " correctly on the server for Czech) > > In the contract the text which was put in by us was "Príšerne > žlutoucký" but the contract does not have š and ž printed in > it.These characters get lost in the flow. I found that the > characters are lost somewhere where we generate PDF using > IText version 4.0. > com.lowagie.text.pdf.PdfReader is the class which takes input > as a byte array.In the byte array the characters are printed > correctly,but the output stream prints lost characters. > > waiting for your reply > > > > Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. ------------------------------------------------------------------------- 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
