Unplanned
Last Updated: 31 Oct 2018 08:11 by ADMIN
ADMIN
Mihail
Created on: 03 Aug 2015 14:08
Category: RichTextBox
Type: Bug Report
1
RichTextBox: Font family is not imported from HTML when font name contains CJK symbols
When the 'font-family' CSS attribute's value contains Chinese, Japanese or Korean symbols, the HTML parser could not parse them correctly, and the applied font families are skipped. As a result, the text is imported with Arial font.

Steps to reproduce:
- Register the following font "HGS明朝B":
FontFamily myCustomFont = new FontFamily("HGS明朝B");
FontManager.RegisterFont(myCustomFont);
- Write some text and apply the font over the text.
- Export to HTML.
- Import the HTML.

Expected: the text should be with the HGS明朝B font family.
Actual: the text is with Arial font family
0 comments