From 0019ee37a2301caccd865745c6bb57ff10b170d8 Mon Sep 17 00:00:00 2001 From: Nikita Prokopov Date: Mon, 9 Sep 2019 20:27:21 +0300 Subject: [PATCH] Created How to enable stylistic sets (markdown) --- How-to-enable-stylistic-sets.md | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 How-to-enable-stylistic-sets.md diff --git a/How-to-enable-stylistic-sets.md b/How-to-enable-stylistic-sets.md new file mode 100644 index 0000000..c7cc789 --- /dev/null +++ b/How-to-enable-stylistic-sets.md @@ -0,0 +1,43 @@ +Stylistic sets allow you to access additional, optional parts of the font on a per-feature basis. In Fira Code, they allow you to enable/disable alternative character variants. + +You can enable stylistic sets only if your editor supports it. + +# Atom + +Go to `Atom` -> `Stylesheet`, add: + +``` +atom-text-editor { + font-feature-settings: "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "zero", "onum"; +} +``` + +# Sublime Text + +Go to `Sublime Text` -> `Preferences` -> `Settings`, add: + +``` +"font_options": ["ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "ss19", "ss20"] +``` + +(for now Sublime Text [does not allow you to specify `zero` and `onum` features](https://github.com/SublimeTextIssues/Core/issues/2302), but they are repeated as `ss19` and `ss20`. + +# VS Code + +Via editing `electron-browser/index.html`, see https://marketplace.visualstudio.com/items?itemName=be5invis.vscode-custom-css + +# CSS + +``` +... { + font-feature-settings: "ss01", "ss02", "ss03", "ss04", "ss05", "ss06", "zero", "onum"; +} +``` + +# Some Apple apps + +![](https://user-images.githubusercontent.com/285292/64178997-0f98b780-ce6b-11e9-8091-34eab83ca288.png) + +# Adobe apps, MS Word etc + +https://www.macworld.com/article/3052388/how-to-access-advanced-opentype-features-in-a-variety-of-mac-apps.html \ No newline at end of file