Skip to content

Commit

Permalink
Merge pull request #606 from googlefonts/add-font-script
Browse files Browse the repository at this point in the history
add-font: add primary_script field
  • Loading branch information
m4rc1e authored Sep 2, 2022
2 parents 76dcfbb + 267ca15 commit d86997e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/gftools-add-font.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ def _MakeMetadata(fontdir, is_new):
metadata.is_noto = True
if old_metadata.display_name:
metadata.display_name = old_metadata.display_name
if old_metadata.primary_script:
metadata.primary_script = old_metadata.primary_script
else:
metadata.designer = 'UNKNOWN'
metadata.category.append('SANS_SERIF')
Expand Down

0 comments on commit d86997e

Please sign in to comment.