[fpc-pascal] FPC Graphics options?
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Mon May 15 17:56:32 CEST 2017
On 2017-05-15 16:28, James Richters wrote:
> Agg2dconsole.exe - System Error The Program can't start because
> freetype.dll is missing from your computer. Try reinstalling the
> program to fix the problem
>
> Any ideas?
Sorry about that. AggPas uses the FreeType library (preferred - more
features that GDI) or Windows GDI for font support. Seeing as that demo
doesn't output text, I really should have disabled font support via
{$DEFINE AGG2D_NO_FONT}
at the top of the unit, but I forgot to do that. So, you can do the
above and recompile or...
Alternatively, simply copy the freetype.dll into the same directory as
the executable, or in your Windows System path. You can find a copy
included with fpGUI's code repository in a ZIP file located at:
<fpgui>/extras/freetype_windows/freetype.zip
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-pascal
mailing list