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: Vincent Torri
Subject: Re: [ft-devel] Question about default SVG library integration in FreeType build system
Date: Fri, 19 Jul 2019 13:10:58 +0200

On Fri, Jul 19, 2019 at 12:46 PM Moazin Khatri <address@hidden> wrote:
>
> Hi Werner,
>
> I am currently working on modifying the FreeType build system to add support 
> for a default SVG renderer.
>
> For something like `librsvg', things are simpler as I can just look at how 
> FreeType is currently dealing with libraries like `harfbuzz', `zlib' and 
> `libpng', and try to do the same for `librsvg'. Since, `librsvg' is easily 
> available, the process will be very similar.
>
> However, the other two libraries under focus, `resvg' and `svgnative' both 
> aren't available via package-managers at the moment. One approach I could 
> take is assume that at some point these libraries will be available via 
> package-managers, so what I could do is, install them locally, and do the 
> configuration necessary to get `pkg-config' work with them, then I could just 
> use the same procedure as with `librsvg'. Does this approach sound good? Are 
> there better ways here? Let me know what you think. :)

imho, just set CPPFLAGS and LDFLAGS accordingly so that header files
and libraries are found. These environment variables exist for such
purpose

Vincent Torri



reply via email to

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