freetype2/src/sfnt
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
..
module.mk Update all copyright notices. 2022-01-11 10:54:10 +01:00
pngshim.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
pngshim.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
rules.mk Add code to load OT-SVG glyph documents. 2022-01-20 16:45:18 +00:00
sfdriver.c Add code to load OT-SVG glyph documents. 2022-01-20 16:45:18 +00:00
sfdriver.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
sferrors.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
sfnt.c Add code to load OT-SVG glyph documents. 2022-01-20 16:45:18 +00:00
sfobjs.c Add code to load OT-SVG glyph documents. 2022-01-20 16:45:18 +00:00
sfobjs.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
sfwoff.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
sfwoff.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
sfwoff2.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
sfwoff2.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttbdf.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttbdf.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttcmap.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttcmap.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttcmapc.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttcolr.c [sfnt] Fix limit checks for `COLR` v1 ClipBoxes 2022-01-11 13:40:20 +02:00
ttcolr.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttcpal.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttcpal.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttkern.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttkern.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttload.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttload.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttmtx.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttmtx.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttpost.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttpost.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttsbit.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttsbit.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ttsvg.c Add 'svg' module for OT-SVG rendering. 2022-01-20 16:45:18 +00:00
ttsvg.h Add code to load OT-SVG glyph documents. 2022-01-20 16:45:18 +00:00
woff2tags.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
woff2tags.h Update all copyright notices. 2022-01-11 10:54:10 +01:00