freetype2/src
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
..
autofit * src/autofit/afglobal.c (af_face_globals_new): Reduce zeroing. 2022-01-18 14:05:46 -05:00
base Add 'svg' module for OT-SVG rendering. 2022-01-20 16:45:18 +00:00
bdf [bdf,type1] Avoid unnecessary hash zeroing. 2022-01-15 23:09:53 -05:00
bzip2 [bzip2] Reset bzip stream on any error. 2022-01-13 08:21:36 +01:00
cache Add code to load OT-SVG glyph documents. 2022-01-20 16:45:18 +00:00
cff [truetype, cff] Add code to load SVG document. 2022-01-20 16:45:18 +00:00
cid Update all copyright notices. 2022-01-11 10:54:10 +01:00
dlg Update all copyright notices. 2022-01-11 10:54:10 +01:00
gxvalid Update all copyright notices. 2022-01-11 10:54:10 +01:00
gzip Update all copyright notices. 2022-01-11 10:54:10 +01:00
lzw * src/lzw/ftlzw.c (FT_Stream_OpenLZW): Avoid unnecessary zeroing. 2022-01-13 09:45:48 -05:00
otvalid Update all copyright notices. 2022-01-11 10:54:10 +01:00
pcf [pcf] Zero out the allocated properties. 2021-10-18 20:35:28 -04:00
pfr Update all copyright notices. 2022-01-11 10:54:10 +01:00
psaux Update all copyright notices. 2022-01-11 10:54:10 +01:00
pshinter [pshinter] Avoid unnecessary zeroing. 2022-01-20 15:06:25 +00:00
psnames Update all copyright notices. 2022-01-11 10:54:10 +01:00
raster Update all copyright notices. 2022-01-11 10:54:10 +01:00
sdf * src/sdf/ftbsdf.c (ED): s/near/prox/. 2022-01-14 21:54:17 -05:00
sfnt Add 'svg' module for OT-SVG rendering. 2022-01-20 16:45:18 +00:00
smooth Update all copyright notices. 2022-01-11 10:54:10 +01:00
svg Add 'svg' module for OT-SVG rendering. 2022-01-20 16:45:18 +00:00
tools Update all copyright notices. 2022-01-11 10:54:10 +01:00
truetype [truetype, cff] Add code to load SVG document. 2022-01-20 16:45:18 +00:00
type1 [bdf,type1] Avoid unnecessary hash zeroing. 2022-01-15 23:09:53 -05:00
type42 [type42] Track how much type42 ttf data is available. 2022-01-11 14:58:18 -05:00
winfonts Update all copyright notices. 2022-01-11 10:54:10 +01:00