freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] GSoC: OT-SVG: Brief Update Week 6


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] GSoC: OT-SVG: Brief Update Week 6
Date: Wed, 17 Jul 2019 17:27:25 -0400

On Wed, Jul 17, 2019 at 4:42 PM Werner LEMBERG <address@hidden> 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.



reply via email to

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