BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name

General TRichView support forum. Please post your questions here
Post Reply
wolf1860
Posts: 108
Joined: Sat Nov 21, 2015 2:04 am

BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name

Post 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 ?
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name

Post 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?
wolf1860
Posts: 108
Joined: Sat Nov 21, 2015 2:04 am

Re: BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name

Post by Sergey Tkachenko »

richviewgmailcom, add @ and .
wolf1860
Posts: 108
Joined: Sat Nov 21, 2015 2:04 am

Re: BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name

Post by wolf1860 »

I have send the email with rvf file and docx file:) Thanks a lot!
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name

Post 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.
wolf1860
Posts: 108
Joined: Sat Nov 21, 2015 2:04 am

Re: BUG?-TRichviewEdit.SaveDocX will lost the header/footer's font name

Post by wolf1860 »

Thank you very much!
It looks I can fix it in a special way.
Post Reply