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 »

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: 17236
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Font name garbled

Post by Sergey Tkachenko »

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 »

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

RTF document:
TestChinsesFontName.rtf
(46.4 KiB) Downloaded 1053 times
Sergey Tkachenko
Site Admin
Posts: 17236
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Font name garbled

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

Re: Font name garbled

Post by Sergey Tkachenko »

Fixed in TRichView 16.15.5
Post Reply