I am pulling names from a database and displaying it on pdfs.  I don't know 
what language it is when I pull the name - the names could be any language - 
Danish, Chinese, etc.  I have tried different combinations and I cannot seem to 
get a font that will display Chinese and Danish fonts together.  Any help would 
be appreciated. thx.

I have tried the following:

BaseFont bfChineseAndEnglish = BaseFont.createFont("STSong-Light", 
"UniGB-UCS2-H", BaseFont.NOT_EMBEDDED); - this works for Chinese but not for 
Danish

BaseFont bfChineseAndEnglish = 
BaseFont.createFont("c:\\windows\\fonts\\comic.ttf", BaseFont.IDENTITY_H, 
BaseFont.EMBEDDED); - this works for Danish but does not display Chinese.




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to