Hi,
Using .NET C#, I have a string containing the " ≥ " character. I add it to a pdf document using a Text object contained in a Paragraph of a Cell.
When rendered in a PDF file, I get a square character instead. The font used is Arial Unicode MS.
I've tried the following :
- use the "≥" html sequence instead with the paragraph's IsHtmlTagSupported property set to true
- use other true type fonts (Arial, Tahoma)
- set the TextInfo.IsUnicode property to True (results in a exception)
- set the TextInfo.FontEncoding property to "builtin", ""... none work ("" throws an exception)
None works.
I observe that the font is embedded in the PDF file, but with an Ansi encoding.
For instance (in the Fonts tab of the Document Properties window in Acrobat Reader):
"ArialUnicodeMS (Embedded)
Type: TrueType
Encoding: Ansi"
No other "custom" encoding of that font is embedded (as I'd expect)
I know that the ≥ doesn't exist in the Ansi encoding, but I can't find a way to make Aspose embed that character.
We work with v. 4.0.0.0, but a quick test with v. 4.1.2.0 shows that it doesn't work with the lastest version neither (and it breaks our layout, so we'd prefer not to use it).
Any help is greatly appreciated.