Re: [ft-devel] [freetype2] hooks-via-module-property d94f52b: Use `FT_Property_Set' to set the hooks. One less API function.

2019-07-19 Thread Moazin Khatri
> > Just want to express that this is very, *very*, /very/, VERY, bad. > Thank you for pointing that out. However, ... The whole property API is a big anti-pattern that FreeType has adopted. > Still, using it to set boolean, integer, or string values is justifiable. > Please explain to me why

Re: [ft-devel] [freetype2] hooks-via-module-property d94f52b: Use `FT_Property_Set' to set the hooks. One less API function.

2019-07-19 Thread Behdad Esfahbod
Just want to express that this is very, *very*, /very/, VERY, bad. The whole property API is a big anti-pattern that FreeType has adopted. Still, using it to set boolean, integer, or string values is justifiable. Abusing it to set pointer to code, Just Unacceptable. b On Wed, Jul 17, 2019 at

Re: [ft-devel] Question about default SVG library integration in FreeType build system

2019-07-19 Thread Werner LEMBERG
>> imho, just set CPPFLAGS and LDFLAGS accordingly so that header >> files and libraries are found. These environment variables exist >> for such purpose Yes, so... > However, ultimately when we do decide on a default library, we'd > wanna have proper configuration for the SVG library in the

Re: [ft-devel] Question about default SVG library integration in FreeType build system

2019-07-19 Thread Vincent Torri
On Fri, Jul 19, 2019 at 1:23 PM Moazin Khatri wrote: >> >> imho, just set CPPFLAGS and LDFLAGS accordingly so that header files >> and libraries are found. These environment variables exist for such >> purpose > > > Thank you for your suggestion, Vincent. > > However, ultimately when we do decide

Re: [ft-devel] Question about default SVG library integration in FreeType build system

2019-07-19 Thread Moazin Khatri
> > imho, just set CPPFLAGS and LDFLAGS accordingly so that header files > and libraries are found. These environment variables exist for such > purpose > Thank you for your suggestion, Vincent. However, ultimately when we do decide on a default library, we'd wanna have proper configuration for

Re: [ft-devel] Question about default SVG library integration in FreeType build system

2019-07-19 Thread Vincent Torri
On Fri, Jul 19, 2019 at 12:46 PM Moazin Khatri 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

[ft-devel] Question about default SVG library integration in FreeType build system

2019-07-19 Thread Moazin Khatri
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