Merge pull request #2685 from fonttools/fix-typo-in-colr-merge
[varLib] Fix typo in COLR merge
This commit is contained in:
commit
352c4c4c45
@ -1426,7 +1426,7 @@ def _merge_PaintColrLayers(self, out, lst):
|
|||||||
paint.Format = int(ot.PaintFormat.PaintColrLayers)
|
paint.Format = int(ot.PaintFormat.PaintColrLayers)
|
||||||
paint.NumLayers = len(layers)
|
paint.NumLayers = len(layers)
|
||||||
paint.FirstLayerIndex = len(self.layers)
|
paint.FirstLayerIndex = len(self.layers)
|
||||||
self.layers.exend(layers)
|
self.layers.extend(layers)
|
||||||
if self.layerReuseCache is not None:
|
if self.layerReuseCache is not None:
|
||||||
self.layerReuseCache.add(layers, paint.FirstLayerIndex)
|
self.layerReuseCache.add(layers, paint.FirstLayerIndex)
|
||||||
return paint
|
return paint
|
||||||
|
Loading…
x
Reference in New Issue
Block a user