mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-31 12:27:22 +02:00
font-patcher: Fix BTB warning for SymbolsOnly font
[why] When patching the Symbols Only font we derive the baseline to baseline distance through abnormal means, so the check fails. [how] Set expected baseline to baseline value explicitely for the Symbols Only font. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
40d82b0a0a
commit
3e38c60f52
@ -1039,6 +1039,7 @@ class font_patcher:
|
||||
'width' : self.sourceFont.em,
|
||||
'height': self.sourceFont.descent + self.sourceFont.ascent,
|
||||
}
|
||||
our_btb = self.sourceFont.descent + self.sourceFont.ascent
|
||||
elif self.font_dim['height'] < 0:
|
||||
sys.exit("{}: Can not detect sane font height".format(projectName))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user