Skip to content

Commit

Permalink
Merge pull request #12 from RosaWagner/patch1
Browse files Browse the repository at this point in the history
Updated config.yaml and designspace files
  • Loading branch information
dy authored Sep 20, 2023
2 parents 2dfbfcd + 66cd657 commit e6bcaea
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 4 deletions.
5 changes: 3 additions & 2 deletions _sources/Linefont.designspace
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
<axes>
<axis default="100" minimum="25" maximum="200" name="{{ AXES.width.name }}" tag="{{ AXES.width.tag }}">
</axis>
<axis default="20" minimum="20" maximum="1000" name="Weight" tag="wght">
<map input="20" output="5"/>
<axis default="100" minimum="4" maximum="1000" name="Weight" tag="wght">
<map input="4" output="1"/>
<map input="100" output="25"/>
<map input="1000" output="250"/>
</axis>
</axes>
Expand Down
52 changes: 50 additions & 2 deletions _sources/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,55 @@ buildStatic: true
sources:
- Linefont.designspace
familyName: Linefont
# note - gftools has own order of axes in produced file
# needs to custom the STAT for Hairline and ExtraBlack which won't be generated automatically.
axisOrder:
- wdth
- wght
- wght
stat:
- name: Width
tag: wdth
values:
- name: UltraCondensed
value: 50
- name: ExtraCondensed
value: 62.5
- name: Condensed
value: 75
- name: SemiCondensed
value: 87.5
- name: Normal
value: 100
flags: 2
- name: SemiExpanded
value: 112.5
- name: Expanded
value: 125
- name: ExtraExpanded
value: 150
- name: UltraExpanded
value: 200
- name: Weight
tag: wght
values:
- name: Thin
value: 100
- name: ExtraLight
value: 200
- name: Light
value: 300
- name: Regular
value: 400
linkedValue: 700
flags: 2
- name: Medium
value: 500
- name: SemiBold
value: 600
- name: Bold
value: 700
- name: ExtraBold
value: 800
- name: Black
value: 900
- name: ExtraBlack
valule: 1000

0 comments on commit e6bcaea

Please sign in to comment.