Al-Qurtas-Islamic-bank-The-.../src/base
Dominik Röttsches 47cf8ebf4a [sfnt] Add API for retrieving a 'COLR' v1 'ClipBox' table.
The optional 'COLR' v1 glyph-specific clip box helps upstream graphics
libraries allocate a sufficiently large bitmap for a glyph without having to
traverse the glyph graph for that.  See

  https://github.com/googlefonts/colr-gradients-spec/issues/251

for background on the introduction of this specification change.

* include/freetype/ftcolor.h (FT_ClipBox): New structure.
(FT_Get_Color_Glyph_ClipBox): New function declaration.

* include/freetype/internal/sfnt.h (TT_Get_Color_Glyph_ClipBox_Func):
New function type.
(SFNT_Interface, FT_DEFINE_SFNT_INTERFACE): Use it.

* src/base/ftobjs.c (FT_Get_Color_Glyph_ClipBox): New function to link API
with SFNT implementation.

* src/sfnt/sfdriver.c (sfnt_interface): Updated.
* src/sfnt/ttcolr.c (Colr): New field `clip_list`.
(tt_face_load_colr): Parse global clip list offset.
(tt_face_get_color_glyph_clipbox): New function to find the clip box for a
glyph id from the clip list array.
* src/sfnt/ttcolr.h: Updated.
2021-08-07 14:44:05 +02:00
..
ftadvanc.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftbase.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftbase.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftbbox.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftbdf.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftbitmap.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftcalc.c More various documentation improvements and fixes. 2021-06-08 18:23:16 +02:00
ftcid.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftcolor.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftdbgmem.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftdebug.c Always provide logging API. 2021-01-31 14:28:44 +01:00
fterrors.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftfntfmt.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftfstype.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftgasp.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftgloadr.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftglyph.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftgxval.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
fthash.c Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftinit.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftlcdfil.c * src/base/ftlcdfil.c (FT_Library_SetLcdGeometry): Fix argument. 2021-07-05 05:41:53 +02:00
ftmac.c [base] s/FT_ALLOC/FT_QALLOC/ for initialized buffers. 2021-04-22 22:34:05 -04:00
ftmm.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftobjs.c [sfnt] Add API for retrieving a 'COLR' v1 'ClipBox' table. 2021-08-07 14:44:05 +02:00
ftotval.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftoutln.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftpatent.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftpfr.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftpsprop.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftrfork.c * src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Tweak allocation. 2021-05-06 22:49:13 -04:00
ftsnames.c [base] Avoid some memory zeroing. 2021-04-25 23:40:59 -04:00
ftstream.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftstroke.c Handle various VC++ compiler warnings. 2021-03-13 19:08:09 +01:00
ftsynth.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftsystem.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
fttrigon.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
fttype1.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftutil.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftver.rc * Version 2.11.0 released. 2021-07-19 18:07:51 +02:00
ftwinfnt.c Update all copyright notices. 2021-01-17 07:18:48 +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. 2021-01-17 07:18:48 +01:00