Unplanned
Last Updated: 09 Nov 2017 06:45 by ADMIN
ADMIN
Boby
Created on: 07 Nov 2017 13:06
Category: RichTextBox
Type: Bug Report
1
RichTextBox: List are always exported to HTML with Verdana font when DocumentInheritsDefaultStyleSettings is true
When RadRichTextBox.DocumentInheritsDefaultStyleSettings is set to true, lists in the document are exported to HTML with Verdana font, instead of with the font applied in the UI.

Workaround: Use modification of the document default styles ("Normal") instead of setting DocumentInheritsDefaultStyleSettings  to true, e.g.:
this.radRichTextBox.Document.StyleRepository["Normal"].SpanProperties.FontFamily = new FontFamily("Segoe UI");
2 comments
ADMIN
Boby
Posted on: 09 Nov 2017 06:45
Thanks for asking, I've modified the description. The proposed workaround is to explicitly set the desired font settings in the "Normal" style for the document, instead of using DocumentInheritsDefaultStyleSettings.
Anthony
Posted on: 09 Nov 2017 00:31
Can you elaborate on the "use modification of document default styles"?