Set char 'correspondence to'

General TRichView support forum. Please post your questions here
Post Reply
j&b
Posts: 184
Joined: Mon Sep 05, 2005 1:35 pm

Set char 'correspondence to'

Post by j&b »

Does someone know, how I get the char for "corresponds to" (font 'MS Reference 1' and sign 61).
I always get '=' and not '^='.


My code:

procedure TForm1.sbEntsprichtClick(Sender: TObject);
begin
try
version_jb:=true; //used in TForm1.memoStyleConversion ---> OK
FontName := 'MS Reference 1' ;
memo.ApplyStyleConversion(rv_APPLYFONTNAME);
finally
version_jb:=false;
end;

Memo.insertText( char(61) ,false);

end;
j&b
Posts: 184
Joined: Mon Sep 05, 2005 1:35 pm

Re: Set char 'correspondence to'

Post by j&b »

All OK.

the sign for 'correspondence to' ( ^= ) is ok, if I start the program as exe.
If I start about Strg+F9 I get = .

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

Post by Sergey Tkachenko »

Try assigning Charset=SYMBOL_CHARSET for the text style using this font.
But, when possible, I recommend using Unicode fonts with math characters.
Post Reply