From 64d53b82471daf63b4090397681c2009aa47e203 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Tue, 6 Sep 2022 16:35:48 +0200 Subject: [PATCH] font-patcher: Fix Python problem [why] I'm not sure why, but maybe the CI's Python is another version where the syntax is not supported. This has been introduced with commit 4a61afc83 font-patcher: Do not overwrite glyphs that are needed for basic glyphs [how] Use less sophisticated syntax. Signed-off-by: Fini Jastrow --- font-patcher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/font-patcher b/font-patcher index 388cf3521..8b4b2c281 100755 --- a/font-patcher +++ b/font-patcher @@ -848,8 +848,8 @@ class font_patcher: for glyph in range(0x21, 0x17f): if not glyph in self.sourceFont: continue - for (r, _) in self.sourceFont[glyph].references: - self.essential.add(self.sourceFont[r].unicode) + for r in self.sourceFont[glyph].references: + self.essential.add(self.sourceFont[r[0]].unicode) def get_sourcefont_dimensions(self): # Initial font dimensions