Skip to content

Commit

Permalink
Zero out linegap values to allow power line glyphs to fill properly
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkusk committed Nov 2, 2016
1 parent 7cd183b commit 9770856
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions font-patcher
Expand Up @@ -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,
Expand Down

0 comments on commit 9770856

Please sign in to comment.