TRVRTFReaderProperties.ConvertSymbolFonts

<< Click to display table of contents >>

TRVRTFReaderProperties.ConvertSymbolFonts

Specifies whether text of symbol fonts is converted to Unicode text.

property ConvertSymbolFonts: Boolean;

(introduced in version 20)

If a font has Charset = SYMBOL_CHARSET, it means that this font contains a set of glyphs specific for this font. Text formatted with this font can be displayed properly only if this font is installed. Even if these fonts are common on Microsoft Windows computers, they can be missing on other platforms.

Because of this problem, it is desirable to use fonts that follow the Unicode standard. Text formatted with Unicode fonts can be displayed even if this font or some glyphs in it are not available (using a font substitution).

If ConvertSymbolFonts = False, text of all symbol fonts is loaded as it is.

If ConvertSymbolFonts = True, characters of widely used symbol fonts are converted to the most similar Unicode characters.

Conversion of the following fonts is supported:

Symbol

Wingdings

Wingdings 2

Wingdings 3

Webdings

This converted text will be formatted with the font specified in RVDefaultLoadProperties.DefaultUnicodeSymbolFontName. The default value for this font name depends on the platform.

 

Default value:

VCL and LCL: False

FireMonkey: True