trichview.com

trichview.support




Re: DrawText to Canvas and Font Settings


Return to index


Author

Message

Sergey Tkachenko

Posted: 01/08/2003 17:25:53


Or simply


sender.TextStyles[0].Apply(Canvas);


> in the DrawParaBack event:

> Canvas.Font.Name:= sender.TextStyles[0].FontName;

> Canvas.Font.Size:= sender.TextStyles[0].Size;

>

> was not enough. The Canvas character set must be reset each time also

> so adding:

> Canvas.Font.Charset:= sender.TextStyles[0].Charset;

> repairs the problem.

>

> Thanks again for all your help!

>





Powered by ABC Amber Outlook Express Converter