On Wed, Jul 17, 2019 at 4:42 PM Werner LEMBERG <w...@gnu.org> wrote: > > > > It is supposed to work from an environment variable > > FREETYPE_PROPERTIES too. So please use: > > > > FT_Property_Get( library, "svg", "svg_library", "librsvg" ); > > FT_Property_Get( library, "svg", "svg_library", "resvg" ); > > > > and then hide the presets and consider proper default initialization > > as a part of FT_Int_FreeType to whatever you prefer. > > This is not how it will work. Moazin did it right. Handling the > `FREETYPE_PROPERTIES' environment variable is something that has to be > coded separately. > > For example, the setting > > set FREETYPE_PROPERTIES=svg:renderer=foo > > might internally map to the function hooks
Internally? SVG_RendererHooks was just made public. I see a lot of effort to avoid using FT_Init_FreeType to do the job and instead create new API. It is obvious that we have different taste here. _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel