views:

653

answers:

0

I'm using Graphics32 library in Delphi 2009. Is it possible to render a font using TBitmap32.TextOut method with MS' ClearType technology? I'm aware about GR32's built-in antialiasing (TBitmap32.RenderText) but the overall quality and performance is not gratifying.

[ Update ]

I've encountered another problem - I'm using function from Tondrej's link posted in comments in a TCustomImage32 descendant class' method. An instance of that class is working in a dmBlend mode, and I have problem using it's Font.Color property - the text rendered by using TextOut method is ignoring that property (it renders the text as if it has color value "alpha"). The problem didn't occure when using RenderText. Apparently things are ok when painting a TPaintBox32 component.