freetype2/include/freetype/internal
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
..
services Update all copyright notices. 2022-01-11 10:54:10 +01:00
autohint.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
cffotypes.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
cfftypes.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
compiler-macros.h Add Watcom C/C++ calling. 2022-01-15 22:44:28 -05:00
ftcalc.h Add Watcom C/C++ support. 2022-01-14 22:07:44 -05:00
ftdebug.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftdrv.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftgloadr.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
fthash.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftmemory.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftobjs.h Add code to load OT-SVG glyph documents. 2022-01-20 16:45:18 +00:00
ftpsprop.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftrfork.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftserv.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftstream.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
fttrace.h Add 'svg' module for OT-SVG rendering. 2022-01-20 16:45:18 +00:00
ftvalid.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
psaux.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
pshints.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
sfnt.h Add code to load OT-SVG glyph documents. 2022-01-20 16:45:18 +00:00
svginterface.h Add 'svg' module for OT-SVG rendering. 2022-01-20 16:45:18 +00:00
t1types.h Update all copyright notices. 2022-01-11 10:54:10 +01:00
tttypes.h Add code to load OT-SVG glyph documents. 2022-01-20 16:45:18 +00:00
wofftypes.h Update all copyright notices. 2022-01-11 10:54:10 +01:00