[cantarell-fonts] Instantiator: minor code compression
- From: Nikolaus Waxweiler <nwaxweiler src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cantarell-fonts] Instantiator: minor code compression
- Date: Sat, 11 May 2019 17:14:58 +0000 (UTC)
commit 202e083e58b6460769264b4388687fa23e7995ba
Author: Nikolaus Waxweiler <madigens gmail com>
Date: Sat May 11 18:14:36 2019 +0100
Instantiator: minor code compression
scripts/instantiator.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/scripts/instantiator.py b/scripts/instantiator.py
index 0deac6d0..a989c1c4 100644
--- a/scripts/instantiator.py
+++ b/scripts/instantiator.py
@@ -99,8 +99,7 @@ class Instantiator:
glyph_name_to_unicodes: Dict[str, List[int]] = {}
for glyph_name in glyph_names:
items = collect_glyph_masters(designspace, glyph_name, axis_bounds)
- mutator = Variator.from_masters(items, axis_order)
- glyph_mutators[glyph_name] = mutator
+ glyph_mutators[glyph_name] = Variator.from_masters(items, axis_order)
glyph_name_to_unicodes[glyph_name] = default_font[glyph_name].unicodes
# Construct defaults to copy over
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]