1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-25 20:18:01 +02:00

Zero out linegap values to allow power line glyphs to fill properly

This commit is contained in:
Marcus Kellerman 2016-11-02 15:13:09 -07:00
parent 7cd183b9cb
commit 9770856f83

View File

@ -315,6 +315,11 @@ if (sourceFont.os2_winascent + sourceFont.os2_windescent) % 2 != 0:
sourceFont.hhea_ascent = sourceFont.os2_winascent
sourceFont.hhea_descent = -sourceFont.os2_windescent
# Line gap add extra space on the bottom of the line which doesn't allow
# the powerline glyphs to fill the entire line.
sourceFont.hhea_linegap = 0
sourceFont.os2_typolinegap = 0
# Initial font dimensions
font_dim = {
'xmin' : 0,