freetype2/include/freetype/internal
Werner Lemberg 54b332aaf9 [sfnt] Separate `CPAL' and `COLR' table handling.
Later on we want to support the `SVG' table also, which needs `CPAL'
(but not `COLR').

* include/freetype/internal/sfnt.h (SFNT_Interface): Add `load_cpal'
and `free_cpal' fields.
(FT_DEFINE_SFNT_INTERFACE): Updated.

* include/freetype/internal/tttypes.h (TT_FaceRec): Replace
`colr_and_cpal' fields with `cpal' and `colr'.

* src/sfnt/sfdriver.c (sfnt_interface): Updated.

* src/sfnt/sfobjs.c (sfnt_load_face, sfnt_done_face): Updated.

* src/sfnt/ttcolr.c (Colr, Cpal): Add `table' field.
(ColrCpal): Removed.
(tt_face_load_colr): Split off CPAL handling into...
(tt_face_load_cpal): ... this new function.
(tt_face_free_colr): Split off CPAL handling into...
(tt_face_free_cpal): ... this new function.
(tt_face_load_colr_layers, tt_face_palette_set): Updated.

* src/sfnt/ttcolr.h: Updated.

* src/truetype/ttgload.c (TT_Load_Glyph): Updated.
2018-06-13 08:46:27 +02:00
..
services [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
autohint.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
cffotypes.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
cfftypes.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftcalc.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftdebug.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftdrv.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftgloadr.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
fthash.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftmemory.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftobjs.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftpsprop.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftrfork.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftserv.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftstream.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
fttrace.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftvalid.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
internal.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
psaux.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
pshints.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
sfnt.h [sfnt] Separate `CPAL' and `COLR' table handling. 2018-06-13 08:46:27 +02:00
t1types.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
tttypes.h [sfnt] Separate `CPAL' and `COLR' table handling. 2018-06-13 08:46:27 +02:00