freetype2/src/base
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
..
ftadvanc.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftbase.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftbase.h Add `FT_Glyph` support for OT-SVG glyphs. 2022-01-20 16:45:18 +00:00
ftbbox.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftbdf.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftbitmap.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftcalc.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftcid.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftcolor.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftdbgmem.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftdebug.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
fterrors.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftfntfmt.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftfstype.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftgasp.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftgloadr.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftglyph.c Add `FT_Glyph` support for OT-SVG glyphs. 2022-01-20 16:45:18 +00:00
ftgxval.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
fthash.c * src/base/fthash.c (hash_insert): Avoid unnecessary zeroing. 2022-01-14 18:22:23 +00:00
ftinit.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftlcdfil.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftmac.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftmm.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftobjs.c Add 'svg' module for OT-SVG rendering. 2022-01-20 16:45:18 +00:00
ftotval.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftoutln.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftpatent.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftpfr.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftpsprop.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftrfork.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftsnames.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftstream.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftstroke.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftsynth.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftsystem.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
fttrigon.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
fttype1.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftutil.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftver.rc Update all copyright notices. 2022-01-11 10:54:10 +01:00
ftwinfnt.c Update all copyright notices. 2022-01-11 10:54:10 +01:00
md5.c * src/base/md5.c: Updated to recent version. 2016-06-16 06:17:54 +02:00
md5.h * src/base/md5.c, src/base/md5.h: Updated to recent version. 2013-10-22 01:10:10 +02:00
rules.mk Update all copyright notices. 2022-01-11 10:54:10 +01:00