Inserting INFINITY symbol

General TRichView support forum. Please post your questions here
Post Reply
thepump
Posts: 7
Joined: Thu May 18, 2006 2:09 pm

Inserting INFINITY symbol

Post 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?
Sergey Tkachenko
Site Admin
Posts: 17310
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply