Skip to content

Commit

Permalink
Merge pull request #835 from googlefonts/add-font-fix
Browse files Browse the repository at this point in the history
add-font: fix min_pct_ext default val
  • Loading branch information
m4rc1e authored Feb 21, 2024
2 parents 47ec598 + d1e2c08 commit b1d40d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/gftools/scripts/add_font.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("--min_pct", type=int, default=50, help='What percentage of subset codepoints have to be supported'
' for a non-ext subset.')
parser.add_argument("--min_pct_ext", type=float, default=0.01, help='What percentage of subset codepoints have to be supported'
parser.add_argument("--min_pct_ext", type=float, default=1, help='What percentage of subset codepoints have to be supported'
' for a -ext subset.')
parser.add_argument("--min_relaxed_pct", type=int, default=0.5, help='What percentage of subset codepoints have to be supported'
parser.add_argument("--min_relaxed_pct", type=int, default=50, help='What percentage of subset codepoints have to be supported'
f' for a relaxed subset ({", ".join(RELAXED_SUBSETS)}).')
parser.add_argument("--lang", type=str, help='Path to lang metadata package', default=None)
parser.add_argument("directory", type=str, help='A directory containing a font family')
Expand Down

0 comments on commit b1d40d2

Please sign in to comment.