Skip to content

Document using OpenType alternatives but disabling ligatures #652

Open
@joeshaw

Description

@joeshaw

The wiki has a page for how to enable features for alternative character renderings.

At least for VSCode, setting the editor.fontLigatures setting enables code ligatures in JetBrains Mono, even if it's only a subset of features. I had mine set to "editor.fontLigatures": "'zero', 'cv01', 'cv03', 'cv07', 'cv12'". But I don't want code ligatures, I only want some of the alternative character renderings.

I eventually figured out that you can explicitly disable certain features, namely the calt feature which turns on those code ligatures. My value is now "editor.fontLigatures": "'calt' 0, 'zero', 'cv01', 'cv03', 'cv07', 'cv12'" and I have the alternate renderings without ligatures.

It would be good to update the wiki page with this information. If it's possible to do it in CSS it would be good to update that as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions