-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make designspace source 'name' field optional
This updates DesignSpaceDocument to allow inputs where sources do not have names; we will autogenerate names if they are missing.
- Loading branch information
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<designspace format="4.1"> | ||
<axes> | ||
<axis tag="wght" name="Weight" minimum="400" maximum="700" default="400"/> | ||
</axes> | ||
<sources> | ||
<source filename="TestFamily-Regular.ufo" stylename="Regular"> | ||
<location> | ||
<dimension name="Weight" xvalue="400"/> | ||
</location> | ||
</source> | ||
<source filename="TestFamily-Bold.ufo" stylename="Bold"> | ||
<location> | ||
<dimension name="Weight" xvalue="700"/> | ||
</location> | ||
</source> | ||
</sources> | ||
</designspace> |