We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

how to wirte chinese word(Big5) in pdf document

hi ,
I am a chinese , and when I using pdf document to write chinese words , all of them
can't show correct word.(see the attachment)
my pdf version is 6.102.034
and using vs2005 , framework2.0, etc.
Could you please demo how to print chinese word using pdf document.
thanks

william





form_pdf_work_31094821.zip

1 Reply

SS Sri Subhashini M Syncfusion Team November 19, 2008 07:33 AM UTC

Hi William,

Thank you for using Syncfusion products.

I was able to understand the condition which you mentioned here. Essential PDF have support for unicode languages. We can render the unicode text with the help of the PdfCjkStandardFont class. Languages like Japanese, Korean, Simplified Chinese, Traditional Chinese are all come under the CJK Fonts.

Please refer the below code snippet to render chinese text,

Dim font As PdfCjkStandardFont = New PdfCjkStandardFont(PdfCjkFontFamily.SinoTypeSongLight, 12, PdfFontStyle.Bold)
page.Graphics.DrawString("是能", font, PdfBrushes.Black, 0, 0)

Please do find the sample from the below specified location and let me know if this helps.
http://www.syncfusion.com/support/user/uploads/PDF_Window_F77834_fabe1803.zip


Please refer the below documentation for more information about the Unicode feature,

https://www.syncfusion.com/(S(5hkthe55hcp1c255mrwj4q55))//support/evalcenter/default.aspx?cNode=738

Regards,
Suba




Loader.
Live Chat Icon For mobile
Up arrow icon