Skip to content

Commit

Permalink
Recalculate some stuff after subsetting Quran font.
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Jun 25, 2022
1 parent 4e03854 commit f745246
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file modified AmiriQuran.ttf
Binary file not shown.
Binary file modified AmiriQuranColored.ttf
Binary file not shown.
3 changes: 2 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,8 @@ def makeQuran(options):

opts = subset.Options()
opts.set(layout_features='*', name_IDs='*', name_languages='*',
notdef_outline=True, glyph_names=True, layout_scripts="*")
notdef_outline=True, glyph_names=True, layout_scripts="*",
recalc_average_width=True, recalc_max_context=True)
subsetter = subset.Subsetter(options=opts)
subsetter.populate(unicodes=unicodes)
subsetter.subset(otf)
Expand Down

0 comments on commit f745246

Please sign in to comment.