I was getting same exception when filling AcroFields with non-english
language: Font 'HYSMyeongJoStd-Medium' with 'UniKS-UCS2-H' is not
recognized..

I was able to solve issue after following changes in my code:
1. Used unicode fonts.
BaseFont font = BaseFont.createFont("c:\\windows\\fonts\\ARIALUNI.TTF",
BaseFont.IDENTITY_H , BaseFont.NON_EMBEDDED);

2.  Added following additional statement.
stamper.getAcroFields().addSubstitutionFont(font);

3. Added needed itext jars (iTextAsian.jar & iTextAsianCmaps.jar).

First two are needed in any case, last one helped to solve the exception.
-- 
View this message in context: 
http://www.nabble.com/Japanese-characters-not-shown-in-stamped-PDF-tp14898360p24021106.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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