diff options
author | Rasmus Andersson <rasmus@notion.se> | 2022-10-08 02:00:31 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2022-10-08 02:00:31 +0300 |
commit | 487396be218480eeae021ad80e461b87d0473992 (patch) | |
tree | b695b72f69e0ceb3e19282b217a8f7f7edbf10d4 | |
parent | cb9dd0903964137f48215013a5476315d954989f (diff) | |
download | inter-487396be218480eeae021ad80e461b87d0473992.tar.xz |
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
-rw-r--r-- | misc/tools/postprocess-designspace.py | 1 | ||||
-rw-r--r-- | src/Inter-Italic.glyphspackage/fontinfo.plist | 78 | ||||
-rw-r--r-- | src/Inter-Roman.glyphspackage/fontinfo.plist | 78 |
3 files changed, 156 insertions, 1 deletions
diff --git a/misc/tools/postprocess-designspace.py b/misc/tools/postprocess-designspace.py index f1b68d471..8dae2b571 100644 --- a/misc/tools/postprocess-designspace.py +++ b/misc/tools/postprocess-designspace.py @@ -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): diff --git a/src/Inter-Italic.glyphspackage/fontinfo.plist b/src/Inter-Italic.glyphspackage/fontinfo.plist index 593e1fe69..04e748827 100644 --- a/src/Inter-Italic.glyphspackage/fontinfo.plist +++ b/src/Inter-Italic.glyphspackage/fontinfo.plist @@ -2643,6 +2643,19 @@ pos = "-664"; size = "-16"; } ); +}, +{ +name = "Axis Location"; +value = ( +{ +Axis = Weight; +Location = 100; +}, +{ +Axis = "Optical size"; +Location = 14; +} +); } ); guides = ( @@ -2780,6 +2793,19 @@ pos = "-664"; size = "-16"; } ); +}, +{ +name = "Axis Location"; +value = ( +{ +Axis = Weight; +Location = 100; +}, +{ +Axis = "Optical size"; +Location = 32; +} +); } ); guides = ( @@ -2911,6 +2937,19 @@ pos = "-664"; size = "-16"; } ); +}, +{ +name = "Axis Location"; +value = ( +{ +Axis = Weight; +Location = 400; +}, +{ +Axis = "Optical size"; +Location = 14; +} +); } ); guides = ( @@ -3046,6 +3085,19 @@ pos = "-664"; size = "-16"; } ); +}, +{ +name = "Axis Location"; +value = ( +{ +Axis = Weight; +Location = 400; +}, +{ +Axis = "Optical size"; +Location = 32; +} +); } ); guides = ( @@ -3177,6 +3229,19 @@ pos = "-664"; size = "-16"; } ); +}, +{ +name = "Axis Location"; +value = ( +{ +Axis = Weight; +Location = 900; +}, +{ +Axis = "Optical size"; +Location = 14; +} +); } ); guides = ( @@ -3311,6 +3376,19 @@ pos = "-664"; size = "-16"; } ); +}, +{ +name = "Axis Location"; +value = ( +{ +Axis = Weight; +Location = 900; +}, +{ +Axis = "Optical size"; +Location = 32; +} +); } ); guides = ( diff --git a/src/Inter-Roman.glyphspackage/fontinfo.plist b/src/Inter-Roman.glyphspackage/fontinfo.plist index 624edce0f..69eacc5c8 100644 --- a/src/Inter-Roman.glyphspackage/fontinfo.plist +++ b/src/Inter-Roman.glyphspackage/fontinfo.plist @@ -2644,6 +2644,19 @@ pos = "-664"; size = "-16"; } ); +}, +{ +name = "Axis Location"; +value = ( +{ +Axis = Weight; +Location = 100; +}, +{ +Axis = "Optical size"; +Location = 14; +} +); } ); guides = ( @@ -2780,6 +2793,19 @@ pos = "-664"; size = "-16"; } ); +}, +{ +name = "Axis Location"; +value = ( +{ +Axis = Weight; +Location = 100; +}, +{ +Axis = "Optical size"; +Location = 32; +} +); } ); guides = ( @@ -2911,6 +2937,19 @@ pos = "-664"; size = "-16"; } ); +}, +{ +name = "Axis Location"; +value = ( +{ +Axis = Weight; +Location = 400; +}, +{ +Axis = "Optical size"; +Location = 14; +} +); } ); guides = ( @@ -3046,6 +3085,19 @@ pos = "-664"; size = "-16"; } ); +}, +{ +name = "Axis Location"; +value = ( +{ +Axis = Weight; +Location = 400; +}, +{ +Axis = "Optical size"; +Location = 32; +} +); } ); guides = ( @@ -3176,6 +3228,19 @@ pos = "-664"; size = "-16"; } ); +}, +{ +name = "Axis Location"; +value = ( +{ +Axis = Weight; +Location = 900; +}, +{ +Axis = "Optical size"; +Location = 14; +} +); } ); guides = ( @@ -3309,6 +3374,19 @@ pos = "-664"; size = "-16"; } ); +}, +{ +name = "Axis Location"; +value = ( +{ +Axis = Weight; +Location = 900; +}, +{ +Axis = "Optical size"; +Location = 32; +} +); } ); guides = ( |