mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-09-19 09:51:48 +02:00
font-patcher: Correct essential ligatures
[why] The essential glyphs are partially based on which substitution rules the font has. And the config.json configuration is able to remove some substitution rules. So we must first possibly remove rules and then examine them, not the other way around, because now we detect 'essential glyphs' for rules that we later remove. [how] Correct order of operation. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
f88122f4ad
commit
84140625a3
1 changed files with 1 additions and 1 deletions
|
@ -338,9 +338,9 @@ class font_patcher:
|
||||||
def patch(self, font):
|
def patch(self, font):
|
||||||
self.sourceFont = font
|
self.sourceFont = font
|
||||||
self.setup_version()
|
self.setup_version()
|
||||||
self.get_essential_references()
|
|
||||||
self.assert_monospace()
|
self.assert_monospace()
|
||||||
self.remove_ligatures()
|
self.remove_ligatures()
|
||||||
|
self.get_essential_references()
|
||||||
self.get_sourcefont_dimensions()
|
self.get_sourcefont_dimensions()
|
||||||
self.setup_patch_set()
|
self.setup_patch_set()
|
||||||
self.improve_line_dimensions()
|
self.improve_line_dimensions()
|
||||||
|
|
Loading…
Reference in a new issue