freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] The criterion for comparing SVG Rendering libraries


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] The criterion for comparing SVG Rendering libraries
Date: Tue, 14 May 2019 11:36:30 -0400


> 3. *How much work to do make it work with FreeType*: Does it need a
>    C API wrapper?

Yes.

Whatever external SVG renderer you choose, please use FT_Renderer facility to hook it up with FreeType instead of creating a set of SVG specific functions: an SVG glyph should be tagged as FT_GLYPH_FORMAT_SVG, which is then picked up by the dedicated SVG FT_Renderer with hooks to external library. The SVG support can be enabled/disabled using the renderer modules, say "svg-ot", in modules.cfg.

https://www.freetype.org/freetype2/docs/reference/ft2-module_management.html



reply via email to

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