2011/3/23 Alexander Klenin <[email protected]>:
> 2011/3/23 Michael Van Canneyt <[email protected]>:
>>> Now I just have to figure out how to draw text on FPCanvas...
>>
>> You need the ftfont, freetype, freetypeh units. Then create a TFreetypeFont
>> instance, assign to canvas.font, and call TextRect() or whatever you would
>> call normally.
>>
>
> Thanks for the pointer. I have added TFreetypeFont to the FPCanvas drawer.
> See nogui demo since r29999.
>

Does this mean that TAChart now always depends on TFreeTypeFont? And
that therefore Lazarus now requires the freefont libraries to be built
(and run) on *nix and to be run on windows?

Vincent

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to