freetype2/include/freetype
Moazin Khatti 0bf49bd229 Add 'svg' module for OT-SVG rendering.
* CMakeLists.txt (BASE_SRCS): Add svg module file.
* meson.build (ft2_public_headers): Add `otsvg.h`.

* modules.cfg (RASTER_MODULES): Add `svg` module.

* builds/meson/parse_modules_cfg.py: Add svg module.

* include/freetype/config/ftmodule.h: Add `ft_svg_renderer_class`.
* include/freetype/fterrdef.h: Add `Invalid_SVG_Document` and
`Missing_SVG_Hooks` error codes.
* include/freetype/internal/fttrace.h: Add tracing for `otsvg`.
* include/freetype/internal/svginterface.h: New file.  It adds an interface
to enable the presetting hook from the `base` module.
* include/freetype/otsvg.h (SVG_Lib_Init_Func, SVG_Lib_Free_Func,
SVG_Lib_Render_Func, SVG_Lib_Preset_Slot_Func): New hooks for SVG rendering.
(SVG_RendererHooks): New structure to access them.

* src/base/ftobjs.c: Include `svginterface.h`.
(ft_glyphslot_preset_bitmap): Add code for presetting the slot for SVG
glyphs.
(ft_add_renderer): Updated.

* src/svg/*: New files.
2022-01-20 16:45:18 +00:00
..
config Add 'svg' module for OT-SVG rendering. 2022-01-20 16:45:18 +00:00
internal Add 'svg' module for OT-SVG rendering. 2022-01-20 16:45:18 +00:00
freetype.h Add code to load OT-SVG glyph documents. 2022-01-20 16:45:18 +00:00
ftadvanc.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftbbox.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftbdf.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftbitmap.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftbzip2.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftcache.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftchapters.h [base] Add public API to change the levels of tracing components. 2020-12-01 09:25:53 +01:00
ftcid.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftcolor.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftdriver.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
fterrdef.h Add 'svg' module for OT-SVG rendering. 2022-01-20 16:45:18 +00:00
fterrors.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftfntfmt.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftgasp.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftglyph.h Add `FT_Glyph` support for OT-SVG glyphs. 2022-01-20 16:45:18 +00:00
ftgxval.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftgzip.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftimage.h Add code to load OT-SVG glyph documents. 2022-01-20 16:45:18 +00:00
ftincrem.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftlcdfil.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftlist.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftlogging.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftlzw.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftmac.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftmm.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftmodapi.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftmoderr.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftotval.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftoutln.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftparams.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftpfr.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftrender.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftsizes.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftsnames.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftstroke.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftsynth.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftsystem.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
fttrigon.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
fttypes.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftwinfnt.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
otsvg.h Add 'svg' module for OT-SVG rendering. 2022-01-20 16:45:18 +00:00
t1tables.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttnameid.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
tttables.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
tttags.h Add code to load OT-SVG glyph documents. 2022-01-20 16:45:18 +00:00