Al-Qurtas-Islamic-bank-The-.../src
Moazin Khatti f93a897afe Add code to load OT-SVG glyph documents.
* include/freetype/config/ftheader.h (FT_OTSVG_H): New macro.
* include/freetype/freetype.h (FT_FACE_FLAG_SVG, FT_HAS_SVG): New macros.
(FT_LOAD_SVG_ONLY): New internal macro.
* include/freetype/ftimage.h (FT_Glyph_Format): New enumeration value
`FT_GLYPH_FORMAT_SVG`.
* include/freetype/internal/ftobjs.h (FT_GLYPH_OWN_GZIP_SVG): New macro.
* include/freetype/internal/fttrace.h: Add `ttsvg` for `ttsvg.c`.
* include/freetype/internal/sfnt.h(load_svg, free_svg, load_svg_doc): New
functions.
* include/freetype/internal/tttypes.h (TT_FaceRec): Add `svg` for
the SVG table.
* include/freetype/otsvg.h (FT_SVG_DocumentRec): New structure to hold the
SVG document and other necessary information of an OT-SVG glyph in a glyph
slot.
* include/freetype/tttags.h (TTAG_SVG): New macro.

* src/base/ftobjs.c: Include `otsvg.h`.
(ft_glyphslot_init): Allocate `FT_SVG_DocumentRec` in `slot->other`
if the SVG table exists.
(ft_glyphslot_clear): Free it upon clean-up if it is a GZIP compressed
glyph.
(ft_glyphslot_done): Free the document data if it is a GZIP compressed
glyph.
(FT_Load_Glyph): Don't auto-hint SVG documents.

* src/cache/ftcbasic.c (ftc_basic_family_load_glyph): Add support for
FT_GLYPH_FORMAT_SVG.

* src/sfnt/rules.mk (SFNT_DRV_SRC): Add `ttsvg.c`.
* src/sfnt/sfdriver.c: Include `ttsvg.h`.
(sfnt_interface): Add `tt_face_load_svg`, `tt_face_free_svg` and
`tt_face_load_svg_doc`.
* src/sfnt/sfnt.c: Include `ttsvg.c`.
* src/sfnt/sfobjs.c (sfnt_load_face, sfnt_done_face): Add code to load and
free data of the the SVG table.
* src/sfnt/ttsvg.c: New file, implementing `tt_face_load_svg`,
`tt_face_free_svg` and `tt_face_load_svg_doc`.
* src/sfnt/ttsvg.h: Declarations of the SVG functions in
`ttsvg.c`.
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 code to load OT-SVG glyph documents. 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 Update all copyright notices. 2022-01-11 10:54:10 +01: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 code to load OT-SVG glyph documents. 2022-01-20 16:45:18 +00:00
smooth Update all copyright notices. 2022-01-11 10:54:10 +01:00
tools Update all copyright notices. 2022-01-11 10:54:10 +01:00
truetype Update all copyright notices. 2022-01-11 10:54:10 +01: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