Use java unicode escapes instead of html escapes. PdfPTable will only output
a complete row. If you have a two column table and only fill one nothing is
output.
Best Regards,
Paulo Soares
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> Sent: Monday, June 02, 2003 3:01
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] How the CJK Fonts can be supported in
> PdfPTable and Table?
>
> Dear Paulo,
>
> I write the following code to test whether Asian
> Language can be supported in PdfPTable. However, the
> result is that there is nothing to be displayed in the
> cell of the output PdfPTable. My adobe reader supports
> Asian Language.
>
> BaseFont bfChinese =
> BaseFont.createFont("STSong-Light", "UniGB-UCS2-H",
> BaseFont.NOT_EMBEDDED);
> Font chinesefont = new Font(bfChinese, 12,
> Font.NORMAL);
> Chunk chunk = new Chunk("陈玉琴",
> chinesefont);
> document.add(chunk);
> /*Chunk is OK*/
>
> int NumColumns_table1 = 1;
> PdfPTable datatable1 = new
> PdfPTabl(NumColumns_table1);
> datatable1.addCell(chunk.content());
> /*Nothing is shown in this cell of the output pdf
> file*/
>
> How can i do to support Asian language support such as
> Chinese Simplified in PdfPTable or Table?
>
> Thank you!
>
> Best regards,
> Chris
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions