freetype/src/sfnt
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
..
Jamfile [sfnt] Preliminary support of coloured layer outlines. 2018-05-13 03:25:09 +02:00
module.mk Update copyright year. 2018-01-02 09:33:57 +01:00
pngshim.c [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
pngshim.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
rules.mk [sfnt] Preliminary support of coloured layer outlines. 2018-05-13 03:25:09 +02:00
sfdriver.c [sfnt] Separate CPAL' and COLR' table handling. 2018-06-13 08:46:27 +02:00
sfdriver.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
sferrors.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
sfnt.c [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
sfobjs.c [sfnt] Separate CPAL' and COLR' table handling. 2018-06-13 08:46:27 +02:00
sfobjs.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttbdf.c [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttbdf.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttcmap.c Restore missing comment lines and other minor fixes 2018-06-04 20:33:56 +05:30
ttcmap.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttcmapc.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttcolr.c [sfnt] Separate CPAL' and COLR' table handling. 2018-06-13 08:46:27 +02:00
ttcolr.h [sfnt] Separate CPAL' and COLR' table handling. 2018-06-13 08:46:27 +02:00
ttkern.c [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttkern.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttload.c [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttload.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttmtx.c [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttmtx.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttpost.c [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttpost.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttsbit.c [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00
ttsbit.h [GSoC] src/*.*: Convert block comments to `light' style. 2018-06-03 09:08:41 +02:00