Page 1 of 1
BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name
Posted: Tue Feb 21, 2017 3:34 am
by wolf1860
I set the header/footer font name='隶书'(a chinese local font name),the font name will disappear when I open the saved docx file with microsoft office word.
How to fix it ?
Re: BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name
Posted: Tue Feb 21, 2017 6:34 am
by Sergey Tkachenko
Can you attach RVF file having text of this font to your post on this forum (or sent it to richviewgmailcom)? And the resulting DocX file too.
What version of Delphi do you use?
Re: BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name
Posted: Tue Feb 21, 2017 7:18 am
by wolf1860
My delphi version is berlin 10.1,and can u show me the email i should send the files to? I'm registered user.
Re: BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name
Posted: Tue Feb 21, 2017 8:20 am
by Sergey Tkachenko
richviewgmailcom, add @ and .
Re: BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name
Posted: Tue Feb 21, 2017 10:29 am
by wolf1860
I have send the email with rvf file and docx file:) Thanks a lot!
Re: BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name
Posted: Wed Feb 22, 2017 11:48 am
by Sergey Tkachenko
Well, I can see 'LiSu' font instead of '隶书'.
However, if I create a new document in Microsoft Word, type some text and apply '隶书' font, Microsoft Word shows 'LiSu' instead. It's interesting, I do not have neither '隶书' nor 'LiSu' font installed.
I tried entering other non-existing font names, both using Chinese and English characters. Neither of them were replaced! Only '隶书' was changed to 'LiSu'.
Probably, this substitution is hard-coded in MS Word.
Re: BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name
Posted: Thu Feb 23, 2017 5:24 am
by wolf1860
Thank you very much!
It looks I can fix it in a special way.