Skip to content

Commit

Permalink
Make sure subsetter re-calculates OS2.xAvgCharWidth
Browse files Browse the repository at this point in the history
  • Loading branch information
bobh0303 committed Aug 1, 2024
1 parent 8e4c7d9 commit d9ca4f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/silfont/scripts/psfufo2ttf.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def markneeded(gname):
opt.legacy_cmap = True
opt.prune_unicode_ranges = False
opt.prune_codepage_ranges = False
opt.recalc_average_width = True

# Invoke the subsetter!
subsetter = subset.Subsetter(options=opt)
Expand Down

0 comments on commit d9ca4f7

Please sign in to comment.