Page 1 of 1

'cyr' in fontname

Posted: Mon Sep 11, 2006 11:19 am
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??

Posted: Fri Sep 22, 2006 10:12 am
by thepump
Sergey, plz answer

Posted: Fri Sep 22, 2006 12:34 pm
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