Page 1 of 1

Set char 'correspondence to'

Posted: Sat Oct 24, 2009 1:49 pm
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;

Re: Set char 'correspondence to'

Posted: Sun Oct 25, 2009 11:30 am
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 ?

Posted: Mon Oct 26, 2009 5:20 pm
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.