Skip to content

Commit

Permalink
Make TTF build reproducible
Browse files Browse the repository at this point in the history
  • Loading branch information
davidxuang committed Jul 4, 2024
1 parent ff08e7d commit 1863f7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions seagull-icons/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
with open(os.path.join(os.path.dirname(__file__), 'patch.yaml')) as f:
segoe_map = yaml.load(f, Loader=yaml.Loader)['map']

# reproducible build
font['head'].modified = 0

# modify metrics
u = font['head'].unitsPerEm
font['hhea'].ascent = u
Expand Down

0 comments on commit 1863f7f

Please sign in to comment.