freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Question about default SVG library integration in FreeTyp


From: Werner LEMBERG
Subject: Re: [ft-devel] Question about default SVG library integration in FreeType build system
Date: Sun, 21 Jul 2019 10:07:31 +0200 (CEST)

>> ... simply use the `PKG_CHECK_MODULES' macro in `configure.raw',
>> which provides both the necessary environment variables and a check
>> whether a proper .pc file is available (the former overrides the
>> latter).
> 
> Thanks. I have done the basic work needed to have a default library.

Looks good, thanks.  What's still missing is my suggested fourth mode
(not present in the support for other libraries needed by FreeType),
namely the `no-default' option to have compiled-in SVG code without
providing a default library.

> I would want to allow the user to plug in a different library as the
> default one while building the library.

I think we shouldn't do this; it's getting too complicated.  I believe
that my suggested `no-default' mode is a simpler solution; the user
registers the library hooks at run-time, and that's it.  Everything
else has to be done on the user side (this is, providing any necessary
wrapper and/or port files and setting up correct linking).

> What should be the user interface to do that? To plug in a default,
> the following things are needed:

If we are following my route, all of your suggestions are not
necessary, I think.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]