Use this:

BaseFont bfChinese = BaseFont.createFont("MHei-Medium,Bold",
"UniCNS-UCS2-H", BaseFont.NOT_EMBEDDED);
Font BoldChinese = new Font(bfChinese, 12);

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Tertr T. [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 21, 2002 17:33
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] How to make bold chinese??
> 
>    I have some difficulties in outputting bold traditional chinese words
> to 
> pdf
> using itext. I use the following codes to setup the font object for
> writing 
> chinese word. But the chinese words can only be shown in normal style 
> (without bold). What is my problem? Can anyone show me the correct codes?
> 
> BaseFont bfChinese = BaseFont.createFont("MHei-Medium", "UniCNS-UCS2-H", 
> BaseFont.NOT_EMBEDDED);
> Font BoldChinese = new Font(bfChinese, 12, Font.BOLD);
> 
> 
> 
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to