There's no support in CJKFont for characters above \uffff. However, characters
above \uffff are supported in truetype fonts.
Paulo
________________________________
From: Billy Leung [mailto:[email protected]]
Sent: Wednesday, January 26, 2011 4:28 AM
To: [email protected]
Subject: [iText-questions] Support of CJK extension B
We are using iText library to print Chinese characters inputted by users in web
forms to PDF. According to ISO/IEC 10646-2:2001 or above, there are 4-byte
Chinese characters in Extension B (CJK Unified Ideographs Extension B
(20000-2A6DF)). But checking the source of com.itextpdf.text.pdf.CJKFont (iText
5.0.5), such as the readCMap function, the for loop has a max limit as 0x10000,
and checking iTextAsian.jar, there are no cmap for ucs4 also. Is that means now
CJKFont do not support characters beyong 0xFFFF? Would there be any plans to
support, or any hints we could workaround this problem at this moment?
Thanks a lot for any help in advance.
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.
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php