How I can enter WINGDING.TTF into Text to use the Smyley character?
ceTe.DynamicPDF.Text.TrueTypeFont trueTypeFontWingDings = new ceTe.DynamicPDF.Text.TrueTypeFont("WINGDING.TTF");
and then add Text with char 263 does'nt work.
WINGDING
Re: WINGDING
Support · Jul 10, 2006Hello,
The characters for Windings 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
In order to access the characters within the font you will need to reference them using their Unicode values. For C# you can just use "\uXXXX".
Thanks,
ceTe Software Support Team
Re: WINGDING
Forum member · Jul 11, 2006Hi
No it does'nt work!!
It post always a Rectangle for the character!
Here my Code
string sSmiley ="\u263A";
ceTe.DynamicPDF.Text.TrueTypeFont trueTypeFontWingDings = new ceTe.DynamicPDF.Text.TrueTypeFont("WINGDING.TTF");
ceTe.DynamicPDF.PageElements.TextArea title_Smiley = new ceTe.DynamicPDF.PageElements.TextArea(sSmiley, fPositionSymbol, CalculateDPI(48.9f), CalculateDPI(13f), CalculateDPI(2f), trueTypeFontWingDings, this.iFONT_TEXTKLEIN);
MainGroup.Add(title_Smiley);
Re: WINGDING
Forum member · Jul 11, 2006The reason is
In teh Web posted unicode for the Smiley is \u263A but real is F04A!