Page 1 of 1

Font name garbled

Posted: Sun Jul 09, 2017 1:59 pm
by wisz
Clerk hello:

I am useing TRichView16.15 Trial versions, Delphi is V10.2, Set as follows:

TRichViewEdit:
RTFReadProperties.UseCharsetForUnicode = True
RTFReadProperties.CharsetForUnicode = GB2312_CHARSET
RTFReadProperties.TextStyleMode = rvrsAddifNeeded
RTFReadProperties.UnicodeMode = rvruOnlyUnicode
RTFReadProperties.UseHypertextStyles = True

TRVStyle:
DefCodePage = 936 ANSI/OEM - Simplified Chinese (PRC, Singapore)

copies text from MS Word, my RichViewEdit when using paste, if the Chinese content, paste it is font name garbled.

Re: Font name garbled

Posted: Sun Jul 09, 2017 3:42 pm
by Sergey Tkachenko
Please save this document in MS Word as RTF and attach to this topic (or send to my to email richviewgmailcom)

Re: Font name garbled

Posted: Mon Jul 10, 2017 6:42 am
by wisz
MS Word:
word.png
word.png (14.93 KiB) Viewed 15500 times
TRichViewEdit:
RV.png
RV.png (19.97 KiB) Viewed 15500 times

RTF document:
TestChinsesFontName.rtf
(46.4 KiB) Downloaded 1217 times

Re: Font name garbled

Posted: Tue Jul 11, 2017 8:17 am
by Sergey Tkachenko
I confirm the problem. It will be fixed in the next update (we plan to release it in the next couple of days)

Re: Font name garbled

Posted: Thu Jul 20, 2017 8:44 am
by Sergey Tkachenko
Fixed in TRichView 16.15.5