Skip to main content

PrintingSettings.UseRichTextFontSubstitution Property

Specifies whether or not to substitute missing fonts in the Rich Text when a report is exported to HTML.

Namespace: DevExpress.XtraPrinting.Native

Assembly: DevExpress.Printing.v21.2.Core.dll


public static bool UseRichTextFontSubstitution { get; set; }

Property Value

Type Description

true, to automatically substitute fonts missing in the system; otherwise, false.


By default, when exporting the Rich Text to HTML, fonts that cannot be found in the system are automatically substituted with fonts installed on the machine. So, the fonts in the initial document and in the exported HTML file can be different.

To disable automatic font substitution in the Rich Text and retain the original font names, set the UseRichTextFontSubstitution property to false. In this case, it cannot be guaranteed that all the text drawn using missing fonts will be correctly measured without these fonts installed on the machine where the report is exported to HTML.

See Also