mirror of
https://github.com/tonsky/FiraCode.git
synced 2024-10-04 00:31:49 +03:00
Updated How to enable stylistic sets (markdown)
parent
e0d6145a76
commit
45f728556b
@ -124,4 +124,20 @@ https://www.macworld.com/article/3052388/how-to-access-advanced-opentype-feature
|
|||||||
If your app does not allow you to control stylistic sets, try generating new font file that has them built-in:
|
If your app does not allow you to control stylistic sets, try generating new font file that has them built-in:
|
||||||
|
|
||||||
- https://github.com/twardoch/fonttools-opentype-feature-freezer
|
- https://github.com/twardoch/fonttools-opentype-feature-freezer
|
||||||
|
Depending on your needs this tool might be sufficient, but it only supports fixed single character replacements.
|
||||||
|
It for example does not support `>=` `<=` from `ss02`, `&&` from `ss03`, `<$` `<$>` `$>` from `ss04`,
|
||||||
|
and `==` `===` `!=` `!==` from `ss08`.
|
||||||
|
It also does not support context-sensitive stylistic sets like the thin escaping backslash from `ss06`.
|
||||||
|
|
||||||
- https://mutsuntsai.github.io/fontfreeze/
|
- https://mutsuntsai.github.io/fontfreeze/
|
||||||
|
Depending on your needs this tool might be sufficient. It supports more than the previous tool,
|
||||||
|
but still not everything this font uses.
|
||||||
|
It for example does not support `<$` `<$>` `$>` from `ss04`.
|
||||||
|
Besides that, it makes the Font version `1.000` and also removes all other metadata like copyright, licence and so on.
|
||||||
|
|
||||||
|
- The best option is the build of this project itself. It needs some setup like installing Python and some
|
||||||
|
modules, or having a Docker daemon running, or using GitHub Actions for it, and it needs much longer than
|
||||||
|
the previous options. But the end result properly supports all stylistic sets and preserves the metadata.
|
||||||
|
Additionally, you can build from the latest state and thus can get new features (but of course also new
|
||||||
|
bugs) that were implemented since the last release.
|
||||||
|
The `README` contains up-to-date information on how to build the font with wanted stylistic sets baked in.
|
Loading…
Reference in New Issue
Block a user