Dim gridHdrFontStyle As New Report.Text.Style(New Infragistics.Documents.Reports.Graphics.Font("Arial Unicode MS", 9, Infragistics.Documents.Reports.Graphics.FontStyle.Bold), Infragistics.Documents.Reports.Graphics.Brushes.White) gridHdrFontStyle.Font.Name = "Arial Unicode MS"
The code displays all the chinese characters well in localhost, when I try to test in the server, it does not display so. How come this is possible?
Hello Ruban,
As Mike suggests, please confirm that you have the Arial Unicode MS font installed on your server.
When you export, are you getting blocks instead of Chinese characters? I mean, does each character look like [] in the PDF? If so, I would recommend the following code instead.
Me.WebDocumentExporter1.CustomFont = New System.Drawing.Font("Arial Unicode MS", 9)
Elizabeth AlbertLocalization Engineer