Font name garbled

General TRichView support forum. Please post your questions here
Post Reply
wisz
Posts: 4
Joined: Wed Oct 22, 2008 10:27 am

Font name garbled

Post by wisz » Sun Jul 09, 2017 1:59 pm

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.

Sergey Tkachenko
Site Admin
Posts: 13584
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Font name garbled

Post by Sergey Tkachenko » Sun Jul 09, 2017 3:42 pm

Please save this document in MS Word as RTF and attach to this topic (or send to my to email richviewgmailcom)

wisz
Posts: 4
Joined: Wed Oct 22, 2008 10:27 am

Re: Font name garbled

Post by wisz » Mon Jul 10, 2017 6:42 am

MS Word:
word.png
word.png (14.93 KiB) Viewed 748 times
TRichViewEdit:
RV.png
RV.png (19.97 KiB) Viewed 748 times

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

Sergey Tkachenko
Site Admin
Posts: 13584
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Font name garbled

Post by Sergey Tkachenko » Tue Jul 11, 2017 8:17 am

I confirm the problem. It will be fixed in the next update (we plan to release it in the next couple of days)

Sergey Tkachenko
Site Admin
Posts: 13584
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Font name garbled

Post by Sergey Tkachenko » Thu Jul 20, 2017 8:44 am

Fixed in TRichView 16.15.5

Post Reply