Skip to content

Commit

Permalink
Set URL in font files
Browse files Browse the repository at this point in the history
Signed-off-by: Fini Jastrow <[email protected]>
  • Loading branch information
Finii committed Nov 20, 2023
1 parent 232fc70 commit dffede4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export FONT_NAME=$(name)
export OUTPUT_DIR=$(dest)
export JSON_FILE=$(json_file)
export COPYRIGHT=Copyright (c) $(date '+%Y'), Lukas W
export VENDORURL=https://github.com/lukas-w/font-logos

all_files=$(font_assets) $(dest)/$(name).css $(dest)/preview.html $(dest)/readme-header.png README.md

Expand Down
1 change: 1 addition & 0 deletions scripts/generate-font.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def addIcon(iconId, icon):
addIcon(iconId, icon)

font.appendSFNTName("English (US)", "Version", fontData['version']['string'])
font.appendSFNTName("English (US)", "Vendor URL", os.environ['VENDORURL'])
font.version = fontData['version']['string']

font.generate(os.path.join(outputdir, fontname + '.ttf'))
Expand Down

0 comments on commit dffede4

Please sign in to comment.