Merge pull request #2685 from fonttools/fix-typo-in-colr-merge

[varLib] Fix typo in COLR merge
This commit is contained in:
خالد حسني (Khaled Hosny) 2022-07-07 16:13:26 +02:00 committed by GitHub
commit 352c4c4c45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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