'cyr' in fontname

General TRichView support forum. Please post your questions here
Post Reply
thepump
Posts: 7
Joined: Thu May 18, 2006 2:09 pm

'cyr' in fontname

Post by thepump »

I am using font named 'zrnic cyr' in my rtf files. When TRichView loads its content from rtf file it cuts 'cyr' from fontname and can't display right font for my text items (font 'zrnic' not installed in my system, only 'zrnic cyr').
Is it right behavior or how can i change this without source changing??
thepump
Posts: 7
Joined: Thu May 18, 2006 2:09 pm

Post by thepump »

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

Post by Sergey Tkachenko »

No, you cannot do it without modification of TRichView source.
The modification is simple: in RVRTF.pas, remove the call of RemoveChasetFromNames method.
I do not plan to remove this call from the main TRichView code, because in 99% cases it does a correct work, and fonts like 'Arial Cyr' do not exist in newer versions of Windows
Post Reply