JetBrains / JetBrainsMono

JetBrains Mono – the free and open-source typeface for developers
https://jetbrains.com/mono
SIL Open Font License 1.1
10.57k stars 298 forks source link

Unable to enable ligatures on VSCode #655

Closed josecastillolema closed 7 months ago

josecastillolema commented 7 months ago

Hi, for some reason I am unable to enable ligatures on VSCode using JetBrains Mono.

VSCode setup:

{
    "editor.fontFamily": "JetBrains Mono",
    "editor.fontLigatures": true,
}

The font gets properly loaded but the ligatures won't work. If I replace the font with another one with ligature support, i.e.: Fira Code, ligatures work normally.

Have tried in two environments with the same results:

Notes:

mfocko commented 7 months ago

I'm not sure if flatpak can touch the fonts :thinking: I definitely recall giving up on some browser in snap, because of the same issue.

Can't reproduce, cause I have the fonts installed in $HOME/.local/share/fonts/ (← this should be a workaround)

josecastillolema commented 7 months ago

Hi @mfocko , thanks for taking a look! Your answer pointed me in the right direction, for some reason I had the fonts installed here: $HOME/.local/share/fonts/ which somehow was producing the error. After deleting this folder and only leave the rpm installed ones ligatures are working. Thanks