tags:

views:

415

answers:

0

I am using FPDF library for ASP.I am trying to add chinese font to it, but its not displaying correct characters.I wrote copied php code and converted to ASP style as extension. Its adding font file but does not display correct characters.It works for russian/german but not for chinese/hebrew/thai.

Set pdf=CreateJsObject("FPDF") pdf.CreatePDF() pdf.SetPath("fpdf/") pdf.LoadExtension "chinese" pdf.AddBig5Font "", "" pdf.SetFont "Big5","",20 pdf.Open() pdf.AddPage() 'big 5 Text pdf.write 10,"§Ú¯à§]¤U¬Á¼þ¦Ó¤£¨­Ê^" pdf.Close() pdf.Output()