When I add Unicode strings (such as Chinese characters) using the IText.AddContent() method to a report, it displays as blanks. Does the Documents engine supports Unicode? If so, could you show me how to do this properly?
Thanks,
Herbert
Its not only PDF, even txt or xps export has the same result.
This is currently not supported. The PDF engine draws each character one at a time, so it cannot support multiple character which join into one.
You should Submit a feature request to Infragistics
Im trying to export PDF in Arabic using the Documents Engine,
text = section.AddTexttext.Style.Font = New Infragistics.Documents.Graphics.Font("Arabic Typesetting", 12)text.AddContent("السادة")text = section.AddText()text.Style.Font = New Infragistics.Documents.Graphics.Font("Arial Unicode MS", 12)text.AddContent("السادة")each letter printed in the PDF is seperated, it should be combined. see attached picture
font embeding didnt work either.any export file format gives the same result (xps,pdf,txt)
is there any workarond for this?
Hi Herbert,
If Adobe Acrobat can display the PDF file correctly and FoxIt does not, then that sounds like it may be a bug in FoxIt.
Mike,
Thank you for the sample code. Adobe Acrobat Reader can display both your code and my original code. However, Foxit PDF reader did not display the Chinese characters. I am just a little bit confused because Foxit can display other PDF with Chinese characters.
Regards,