JetBrains Mono Italic Font Not Rendering in Cursor

I’m experiencing an issue with font rendering in Cursor. While the regular JetBrains Mono font is displaying correctly, the italic variant is not being applied as expected. Here are the key points:

  1. Regular JetBrains Mono font renders correctly.

  2. Italic style is not being applied to keywords or other elements where it should be.

  3. The font color changes are working as intended.

  4. This issue persists despite correct configuration in the settings.json file.

Current Configuration:

"editor.fontFamily": "JetBrains Mono",
"editor.tokenColorCustomizations": {
    "[One Dark Pro]": {
        "textMateRules": [
            {
                "scope": ["keyword", "storage.type", "storage.modifier"],
                "settings": {
                    "fontStyle": "italic",
                    "foreground": "#D55FDE"
                }
            }
        ]
    }
}

Expected Behavior:

Keywords and other specified elements should appear in italic JetBrains Mono font (VS Code can successfully display).
image

3 Likes

Actual Behavior:
image

The specified elements appear in regular JetBrains Mono font, with the correct color but without italics.

1 Like

I found the culprit:

Another file called jetbrains-mono-regular.tff at C:\Users\<user>\AppData\Local\Programs\cursor\resources\app\out\media was overriding the system-wide one. Just delete it.

1 Like

Dear bro, you are a genius! Thank u super mutch! :heart:

1 Like

Oh, and every update they install it back, so you’ll have to always delete it after one.

1 Like

Yeah, I’ve noticed. It’s a pity.

Hi, does anybody know the corresponding directory on Mac?