Skip to content

Commit

Permalink
Add axes attribute and axisDescriptors to DesignSpace files
Browse files Browse the repository at this point in the history
Make DesignSpace files compliant with current specification (https://github.com/fonttools/fonttools/tree/master/Doc/source/designspaceLib) and resolve the 'No axes defined' error when building the font from source. axisDescriptors copied from upstream Source Code Pro (https://github.com/adobe-fonts/source-code-pro/blob/master/Roman/Masters/SourceCodePro.designspace)

Issue i-tu#114
  • Loading branch information
pkq committed Dec 17, 2020
1 parent 8089464 commit 06a0695
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ItalicMasters/SourceCodePro-It.designspace
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<designspace format="3">
<axes>
<axis default="0.0" maximum="1000.0" minimum="0.0" name="weight" tag="wght" />
</axes>
<sources>
<source filename="SourceCodePro-Italic_0.ufo" name="master_0">
<lib copy="1"/>
Expand Down
3 changes: 3 additions & 0 deletions RomanMasters/SourceCodePro.designspace
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<designspace format="3">
<axes>
<axis default="0.0" maximum="1000.0" minimum="0.0" name="weight" tag="wght" />
</axes>
<sources>
<source filename="SourceCodePro_0.ufo" name="master_0">
<lib copy="1" />
Expand Down

0 comments on commit 06a0695

Please sign in to comment.