shithub: freetype+ttf2subf

Download patch

ref: 9b31c44620b30d3b2e6f6c0aa1cf54409cbd1087
parent: f9d05eb32695dfcbc5c7ae747c0c794e64cc55b8
author: Werner Lemberg <wl@gnu.org>
date: Thu Jun 14 17:30:43 EDT 2018

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.

git/fs: mount .git/fs: mount/attach disallowed