Skip to content

Commit

Permalink
Allow a localMetadata field in builder (#1026)
Browse files Browse the repository at this point in the history
* Allow a localMetadata field in the google fonts schema

* Add to docs
  • Loading branch information
simoncozens authored Sep 11, 2024
1 parent 71675ad commit 5542d82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Lib/gftools/builder/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,6 @@
Optional("extraStaticFontmakeArgs"): Str(),
Optional("buildSmallCap"): Bool(),
Optional("splitItalic"): Bool(),
Optional("localMetadata"): Any(),
}
)
3 changes: 3 additions & 0 deletions docs/gftools-builder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ The build can be customized by adding the following keys to the YAML file:
subspace them into separate roman and italic VF files to comply with
Google Fonts' specification. Defaults to true.

- `localMetadata`: A field that's ignored so you can put whatever you like in it.


## *Really* customizing the build process

If the options above aren't enough for you - let's say you want to run your
Expand Down

0 comments on commit 5542d82

Please sign in to comment.