Hi,
Does the Label() function supports printing of Unicode characters?
Thanks
Bert
Printing Unicode Characters
Re: Printing Unicode Characters
Support · May 28, 2007Hello Bert,
Yes, you can use Unicode characters in a label without any problem. Please make sure that the unicode character you are using is supported by the font you are using. You can use TrueType or Type1 fonts also other than the inbuilt fonts.
Thanks,
ceTe Software Support Team.
Re: Printing Unicode Characters
Forum member · May 29, 2007Hi,
I am creating a TruetypeFont object using "wingding.ttf" or "webdings.ttf" font files in printing label() but it doesn't work. It print squares instead of the actual characters no matter what character you are trying to print. Using other font files have no problem.
Thanks
Bert
Re: Printing Unicode Characters
Support · May 29, 2007Hello Bert,
The characters for Windings font and Webdings font are located in the Unicode Private Use area. You will need to use the Unicode values to specify the characters in this font because this font does not map the characters to the ASCII numeric characters.
Following are the ranges of Unicode values for characters located in the Private Use area for each font you were having problems with:
wingding.ttf: uF020–uF0FF
Webdings.ttf: uF020-uF0FF
In order to access the characters within the font you will need to reference them using their Unicode values.
If you plan you use VB.NET you will need to convert the Hex value to decimal and pass it to the ChrW() function. For C# you can just use "\uXXXX".
Thanks,
ceTe Software Support Team