mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-25 03:32:02 +02:00
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 <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
b2fa537e7f
commit
64d53b8247
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user