Page 1 of 1

Inserting INFINITY symbol

Posted: Thu May 18, 2006 2:12 pm
by thepump
When inserting INFINITY symbol (221E in Unicode) in Times New Roman font inserted symbol is '?'. Have tried insert from Rtf file and clipboard. Inserting some of other symbols acts like this.

Is there some option in TRichViewEdit to handle it right or is it a bug?

Posted: Thu May 18, 2006 4:50 pm
by Sergey Tkachenko
This symbol requires Unicode to be displayed. I.e., the text style used for this symbol must be an Unicode (RVStyle.TextStyles[].Unicode=True).

For RTF reading, set RichView.RTFReadProperties.UnicodeMode to
* rvruMixed - if you want to keep count of Unicode characters in document to minimum (only for special characters like inifinity sign)
* rvruOnlyUnicode - if you want all RTF text to be loaded as Unicode.