Skip to content

Commit

Permalink
Merge pull request #691 from googlefonts/davelab6-docs-builder-stat-f…
Browse files Browse the repository at this point in the history
…lags

Update gftools/docs/gftools-builder/README.md with stat flag info
  • Loading branch information
m4rc1e authored Jul 25, 2023
2 parents eb2d392 + 3a0c970 commit 8a0e065
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/gftools-builder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ It should be instantiated with a configuration file, typically
- name: Weight
tag: wght
values:
- name: Hairline
rangeMinValue: 1
nominalValue: 1
rangeMaxValue: 50
- name: Regular
value: 400
flags: 2
...
statFormat4:
- name: Green
Expand Down Expand Up @@ -79,7 +78,8 @@ required, all others have sensible defaults:
axes and values as demonstrated above, or a dictionary mapping each
variable font to a per-source list. If neither `stylespaceFile` or
`stat` are provided, a STAT table is generated automatically using
`gftools.stat`.
`gftools.stat`. The Flags key's values are explained in the [OpenType
spec](https://learn.microsoft.com/en-us/typography/opentype/spec/stat#flags).

- `instances`: A list of static font TTF instances to generate from
each variable font as demonstrated above. If this argument isn\'t
Expand Down

0 comments on commit 8a0e065

Please sign in to comment.