Skip to content

Commit

Permalink
move more-robust code fonts into release 1.053
Browse files Browse the repository at this point in the history
  • Loading branch information
arrowtype committed Jul 30, 2020
1 parent 2ff1531 commit cc099bf
Show file tree
Hide file tree
Showing 244 changed files with 3 additions and 10 deletions.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Custom 4-style packages specifically made for code editors, each featuring:
- Regular, Italic, Bold, & Bold Italic static fonts
- An abbreviated family name to enable italic themes on macOS
- Reduced-slant italics for easier readability in code (normal Recursive Italics have slnt=-15, which is pretty intense)
- All the same OpenType features that are available in Recursive generally, including `ss01`-`ss11` to customize letterforms to your preference.
- Stylistic sets pre-applied for clear, unambiguous code: a simplified `L`, `Z`, `l`, & `f` and a more-open `6` and `9`


## Packages
Expand All @@ -28,13 +28,6 @@ Download the zip in this folder for an easy way to download these fonts. Then, i

By popular demand, these fonts shift the code ligature feature from their usual OpenType feature of `dlig` to the feature `calt`, to act more like preexisting code-ligature fonts such as Fira Code & Hasklig.

These are therefore activated by default in general text settings, and activatable in many code editors under typical "Code Ligatures" setting.

In VS Code, you can control ligatures *and* stylistic sets by doubling the setting in `settings.json`, using the first line for ligatures and the second for stylistic sets:

```json
"editor.fontLigatures": true,
"editor.fontLigatures": "'ss01','ss03', 'ss06'",
```
These are therefore activated (or deactivated) by default in general text settings, and activatable in many code editors under typical "Code Ligatures" setting.

In the Desktop & Web fonts, code ligatures are still controlled by the `dlig` feature, so that they are *not* on by default for contexts in which they may not be well-understood by many users.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/build-scripts/make-release/instantiate-code-fonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def splitFont(
instanceFont.save(outputPath)

# freeze in rvrn features with pyftfeatfreeze: serifless 'f', unambiguous 'l', '6', '9'
pyftfeatfreeze.main(["--features=rvrn,ss03,ss05,ss09", outputPath, outputPath])
pyftfeatfreeze.main(["--features=rvrn,ss03,ss05,ss07,ss09", outputPath, outputPath])

# swap dlig2calt to make code ligatures work in old code editor apps
dlig2calt(outputPath, inplace=True)
Expand Down

0 comments on commit cc099bf

Please sign in to comment.