On Fri, 17 Jul 2020, Werner Pamler wrote:

Am 17.07.2020 um 17:26 schrieb Michael Van Canneyt:
It is exactly the opposite.

It can now load the DLL dynamically.

home:~/fpc/packages/fcl-image/src> svn log freetypeh.pp ------------------------------------------------------------------------
r37865 | michael | 2017-12-29 15:22:33 +0100 (Fri, 29 Dec 2017) | 1 line

Dynamic use of freetype lib

You can use unit freetypeh.pp which links statically (as it was)
or freetypehdyn.pp which loads dynamically.

fpReport does require the presence of freetype. In order to be able to
install it in Lazarus without requiring the presence of a dll, the ability
to load freetype dll dynamically was added.
Please excuse my ignorance: How can I change using freetypeh instead of freetypedyn (which is default and thus breaks existing code)?

First you'll have to explain something:
Why does it break existing code according to you ?
The default library name is the same in both units.

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to