[Lazarus] TFPImageCanvas and TFreeTypeFont colors

Leonardo M. Ramé l.rame at griensu.com
Fri May 10 20:19:41 CEST 2013

Hi, I'm writing text over TFPImageCanvas using a TFreeTypeFont, and I
noted some times, the text contains wrong colors around the pixels of
the text.

I've attached an image to show the problem. As you can see, the text
over light gray and white is adding red dots, that doesn't have to be

The resulting image is an TFPMemoryImage composed of two TFPImageCanvas
one containing the image and a 2nd one containing the text.

How can I avoid those red dots?.

Leonardo M. Ramé
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freetypefont.png
Type: image/png
Size: 14131 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130510/6031fe06/attachment-0002.png>

More information about the Lazarus mailing list