)]}' { "commit": "0348c627b19864203c0eb3752f49850851a65200", "tree": "d21ddf20bf9be4e456d39cf80927dfdb8b89dedc", "parents": [ "f27b4834b7dcf9d667fd5173106be0cddb0ec1c2" ], "author": { "name": "Dominik Röttsches", "email": "drott@chromium.org", "time": "Tue Jun 29 20:51:32 2021 +0300" }, "committer": { "name": "Werner Lemberg", "email": "wl@gnu.org", "time": "Thu Jul 01 06:15:22 2021 +0200" }, "message": "[sfnt] Handle fonts without layer list in \u0027COLR\u0027 v1.\n\n\u0027COLR\u0027 v1 fonts do not necessarily need to have a layer list; for\nthis reason, \u0027fontTools\u0027 recently started generating fonts in a way\nthat drops the layer list if there are no layers in it. This\nresults in the layer list offset becoming zero, which FreeType\ntreated as an invalid table. Fix that and handle the case for layer\nlist offset being 0. This slightly changes how we need to calculate\nthe starting offset for paints.\n\n* src/sfnt/ttcolr.c (tt_face_load_colr): Handle case of layer list\noffset being zero without outright rejecting table.\n", "tree_diff": [ { "type": "modify", "old_id": "a1de34602f5cbbed598483fe004f6709705555dd", "old_mode": 33188, "old_path": "ChangeLog", "new_id": "eccf4a1c7bcf8f5ed235f9ecadbff8ab9ad9ec5d", "new_mode": 33188, "new_path": "ChangeLog" }, { "type": "modify", "old_id": "1e297ac8c92f1dc7065ad9dfcc247fb7323bd857", "old_mode": 33188, "old_path": "src/sfnt/ttcolr.c", "new_id": "34accddb338f5ec959cb9a694e76c7d3faf4d726", "new_mode": 33188, "new_path": "src/sfnt/ttcolr.c" } ] }