[Lazarus] Get JPEG from TAChart in CGI app

Vincent Snijders vincent.snijders at gmail.com
Mon Apr 4 13:24:52 CEST 2011

2011/3/23 Alexander Klenin <klenin at gmail.com>:
> 2011/3/23 Michael Van Canneyt <michael at freepascal.org>:
>>> 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?


More information about the Lazarus mailing list