freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Accessing `ft_mem_*' from OT-SVG hooks


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] Accessing `ft_mem_*' from OT-SVG hooks
Date: Sun, 7 Jul 2019 15:48:34 -0400

On Sun, Jul 7, 2019 at 2:14 PM Moazin Khatri <address@hidden> wrote:
>
> Alexei, that can work only if the rendering module
> was designed with the approach that you discussed
> yesterday, not with the current approach.

All I am asking is to consider *existing* FreeType interfaces rather
than inventing a new approach. There is no need for FT_Set_Svg_Hooks.
It only looks like a good idea, but it isn't. Do you propose to check
is the library is available at runtime and decide then? That is not
easy..

Please do not touch FT_Render_Glyph_Internal. There is a loop there
that is supposed to find your renderer and match it with the glyph
format, once your renderer is set up correctly.

FreeType interfaces are well designed there is no need to hack.

Alexei



reply via email to

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