See AcroFields.addSubstitutionFont().

Paulo

________________________________________
From: Andron [work.and...@gmail.com]
Sent: Monday, April 19, 2010 3:13 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Text in UTF 8 encoding is not showed after xfdf 
merging with pdf form

Hi iText support team!

Thanks for previous answers
(http://sourceforge.net/mailarchive/forum.php?thread_name=4BC890F7.7060109%401t3xt.info&forum_name=itext-questions),
so strange that iText can't do in same way as it is realized in Adobe
Acrobat.


So in xfdf file we he one field value in UTF8 encoding (tried Farsi and
Cyrillic). After pdf form merging with this xfdf file, when we open the
new result pdf file in Acrobat - all chars in that field are not showed,
only ascii if they are presented in the value.
But when I try edit the value in this field (after clicking on that
field) - real value is showed there (the same as it is in xfdf file).

Also when I change font for that field in Acrobat Pro and back to
previous - value is showed...

Screenshots:
1. What is showed after the merge:
http://i.piccy.info/i5/87/84/18487/1_-_not_showed.png
2. What is showed on field focus:
http://62.149.5.84/i5/97/84/18497/2_-_showed_on_field_focus.png



We still use a java version of iText.


Do you have idea why it is so and how it can be fixed?

Regards, Andron.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

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.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to