Skip to content

Commit

Permalink
Mention the preserveNameIds option in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Jul 1, 2021
1 parent 4e97447 commit ef2a8b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Returns a promise that gets fulfilled with the subset font as a Buffer instance,
Options:

- `targetFormat` - the format to output, can be either `'sfnt'`, `'woff'`, or `'woff2'`.
- `preserveNameIds` - an array of numbers specifying the extra name ids to preserve in the `name` table. By default the harfbuzz subsetter drops most of these. Use case described [here](https://github.com/papandreou/subset-font/issues/7).

For backwards compatibility reasons, `'truetype'` is supported as an alias for `'sfnt'`.

Expand Down

0 comments on commit ef2a8b2

Please sign in to comment.