trichview.com

trichview.support




Re: DrawText to Canvas and Font Settings


Return to index


Author

Message

Wayne Edward

Posted: 01/08/2003 14:00:51


Problem solved. (and boy do I feel silly!)


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