freetype2/include/freetype
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
..
config Restore missing comment lines and other minor fixes 2018-06-04 20:33:56 +05:30
internal [sfnt] Separate `CPAL' and `COLR' table handling. 2018-06-13 08:46:27 +02:00
freetype.h Doc fixes and improvements. 2018-06-12 21:59:15 -04:00
ftadvanc.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftbbox.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftbdf.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftbitmap.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftbzip2.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftcache.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftchapters.h Doc fixes and improvements. 2018-06-12 21:59:15 -04:00
ftcid.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftcolor.h Minor doc fixes. 2018-06-11 09:02:25 +02:00
ftdriver.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
fterrdef.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
fterrors.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftfntfmt.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftgasp.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftglyph.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftgxval.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftgzip.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftimage.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftincrem.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftlcdfil.h Doc fixes and improvements. 2018-06-12 21:59:15 -04:00
ftlist.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftlzw.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftmac.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftmm.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftmodapi.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftmoderr.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftotval.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftoutln.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftparams.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftpfr.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftrender.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftsizes.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftsnames.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftstroke.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftsynth.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftsystem.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
fttrigon.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
fttypes.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ftwinfnt.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
t1tables.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
ttnameid.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
tttables.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00
tttags.h [GSoC] include/*.*, devel/*.*: Convert block comments to `light' style. 2018-06-03 22:00:42 +02:00