diff --git a/font-patcher b/font-patcher index 6e3d08de7..bfa0c25cf 100755 --- a/font-patcher +++ b/font-patcher @@ -6,7 +6,7 @@ from __future__ import absolute_import, print_function, unicode_literals # Change the script version when you edit this script: -script_version = "3.7.0" +script_version = "3.7.1" version = "2.3.3" projectName = "Nerd Fonts" @@ -440,8 +440,8 @@ class font_patcher: if d_xwidth != xwidth: if not self.args.quiet: print("Changing xAvgCharWidth from {} to {}{}".format(d_xwidth, xwidth, xwidth_s)) - dest_font.putshort(xwidth, 'avgWidth') - dest_font.reset_table_checksum() + dest_font.putshort(xwidth, 'avgWidth') + dest_font.reset_table_checksum() source_font.find_head_table(idx) dest_font.find_head_table(idx) if source_font.flags & 0x08 == 0 and dest_font.flags & 0x08 != 0: