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: Werner LEMBERG
Subject: Re: [ft-devel] Accessing `ft_mem_*' from OT-SVG hooks
Date: Sat, 06 Jul 2019 22:30:23 +0200 (CEST)

> We should not decide this if both libraries work.

Why not?  I don't see any problem in providing a default that can be
overridden by the user.  It's less than 10 lines of (user) code to do
so.

> We should have both modules available so that user can FT_Add_Module
> or FT_Remove_Module at runtime if user wishes.  With both modules
> loaded, FT_Render_Glyph will find the first one that works for
> FT_GLYPH_FORMAT_SVG.  It is not worth overdesigning the interface.

I don't see any overdesign.  The callbacks, as suggested by Moazin,
are rather unavoidable IMHO.


    Werner



reply via email to

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