[Lazarus] DrawText function problems
Lee Jenkins
lee at datatrakpos.com
Sun Apr 13 16:06:48 CEST 2008
Lee Jenkins wrote:
> Lee Jenkins wrote:
>>
>> Hi all,
>>
>> I'm having a problem with drawing text on an image using the DrawText
>> function where the area around the text masked out. Please see the
>> attached image.
>>
>> This same routine works perfectly in Delphi. Maybe the
>> Canvas.Brush.Style := bsClear is not working?
>>
I have attached a small sample application that shows that even though the text
is printed onto the TImage descendant, it is not drawn correctly where the font
is jagged and squeezed together and almost readable.
At first, I couldn't get the Brush.Style to be clear, but after I was able to do
that, the font just will not render correctly. I have attached a screen shot
also that shows what the phone looks like.
I'm on Lazarus 9.24 Vista Business (same behavior on XP Pro though).
--
Warm Regards,
Lee
"When my company started out, we were really, really, really, really small.
Now...we're just really small."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lazarus_rendering.png
Type: image/png
Size: 10853 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080413/f0f5b94f/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageproblem.zip
Type: application/x-zip-compressed
Size: 13392 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080413/f0f5b94f/attachment-0007.bin>
More information about the Lazarus
mailing list