Category / Section
Information about the character is missing. Unicode is not supported by this font. - Error using unicode character in PdfTextElement object.
4 mins read
To use the Unicode characters in the PDF document you need to enable the Unicode property in PdfFont class. You can enable this by using the WinForms PDF Constructor, as shown in the following code example.
C#
//Font initialization. System.Drawing.Font tempfont = new System.Drawing.Font("Calibri", 11, FontStyle.Regular); //Enable unicode to draw unicode characters. PdfTrueTypeFont currentFont = new PdfTrueTypeFont(tempfont,true);
VB
'Font initialization. Dim tempfont As New System.Drawing.Font("Calibri", 11, FontStyle.Regular) 'Enable unicode to draw unicode characters. Dim currentFont As New PdfTrueTypeFont(tempfont, True)
Sample link:
https://www.syncfusion.com/downloads/support/directtrac/general/Sample-1924194779.zip
Conclusion
I hope you enjoyed learning how Information about the character is missing. Unicode is not supported by this font. - Error using Unicode character in PdfTextElement object.
You can refer to our WinForms PDF feature tour page to learn about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our WinForms PDF example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!