adds Axis Location entries to all glyphspackage masters and removes the UFO patch that was a workaround for missing weight. Related to fontmake/issues/943

This commit is contained in:
Rasmus Andersson 2022-10-07 16:00:31 -07:00
parent cb9dd09039
commit 487396be21
3 changed files with 156 additions and 1 deletions

View file

@ -77,7 +77,6 @@ def update_source_ufo(ufo_file, weight, glyphs_to_decompose):
ufo = defcon.Font(ufo_file)
update_version(ufo)
set_ufo_filter(ufo, name="decomposeComponents", include=glyphs_to_decompose)
ufo.info.openTypeOS2WeightClass = int(weight)
ufo.save(ufo_file)
def update_sources(designspace):