This is a migrated thread and some comments may be shown as answers.

FontFamily has changed after exporting to docx

1 Answer 67 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Li
Top achievements
Rank 1
Li asked on 14 Apr 2020, 09:01 AM
Hello, I set the font of the paragraph in the richbox to  FangSong(仿宋).But when I save it as docx and opened it  in Word,  it became SimSun(宋体). What do I need to set ? Help me Please,Thanks

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 16 Apr 2020, 02:20 PM

Hello Li,

Please, make sure that the font is installed on the machine so it can be later used inside the document. You can also use the FontManager static class to determine whether the needed font is registered as well as register additional fonts if needed.

Hope this is helpful.

Regards,
Tanya
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
RichTextBox
Asked by
Li
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or