freetype2/include/freetype
Werner Lemberg 9b31c44620 Replace `FT_Get_GlyphLayers' with `FT_Get_Color_Glyph_Layer'.
This avoids any additional allocation of COLR related structures in
a glyph slot.

* include/freetype/freetype.h (FT_Glyph_Layer, FT_Glyph_LayerRec,
FT_Get_GlyphLayers): Removed.

* include/freetype/internal/ftobjs.h (FT_Colr_InternalRec): Removed.
(FT_Slot_InternalRec): Remove `color_layers'.

* include/freetype/internal/sfnt.h (TT_Load_Colr_Layer_Func):
Removed.
(SFNT_Interface, FT_DEFINE_SFNT_INTERFACE): Remove
`load_colr_layer'.

* src/base/ftobjs.c (ft_glyph_slot_done): Updated.
(FT_Render_Glyph_Internal): Use `FT_Get_Color_Glyph_Layer'.
(FT_Get_GlyphLayers): Removed.

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

* src/sfnt/ttcolr.c (tt_face_load_colr_layers): Removed.
* src/sfnt/ttcolr.h: Updated.

* src/truetype/ttgload.c (TT_Load_Glyph): Updated.
2018-06-14 21:30:43 +02:00
..
config Restore missing comment lines and other minor fixes 2018-06-04 20:33:56 +05:30
internal Replace `FT_Get_GlyphLayers' with `FT_Get_Color_Glyph_Layer'. 2018-06-14 21:30:43 +02:00
freetype.h Replace `FT_Get_GlyphLayers' with `FT_Get_Color_Glyph_Layer'. 2018-06-14 21:30:43 +02: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