Skip to content

Commit

Permalink
copy font objects when they are provided
Browse files Browse the repository at this point in the history
  • Loading branch information
typemytype committed Nov 22, 2024
1 parent 768269e commit b5b0a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ developer: TypeMyType
developerURL: http://typemytype.com
launchAtStartUp: true
mainScript: main.py
version: '2.5b1'
version: '2.5b2'
addToMenu: []
html: true
requiresVersionMajor: '4'
Expand Down
2 changes: 1 addition & 1 deletion source/lib/batchGenerators/batchTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def loadFonts(sourceUFOs):
if isinstance(sourceUFO, str):
font = RFont(sourceUFO, document=False, showInterface=False)
else:
font = sourceUFO
font = sourceUFO.copy()
# check font info
requiredFontInfo = dict(descender=-250, xHeight=500, ascender=750, capHeight=750, unitsPerEm=1000)
for attr, value in requiredFontInfo.items():
Expand Down

0 comments on commit b5b0a4b

Please sign in to comment.