subframe7536 / maple-font

[try V7!] Maple Mono: Open source monospace font with round corner, ligatures and Nerd-Font for IDE and command line. 带连字和控制台图标的圆角等宽字体,中英文宽度完美2:1
SIL Open Font License 1.1
4.49k stars 62 forks source link

Cursive font is not being applied #105

Closed sayeed205 closed 1 year ago

sayeed205 commented 1 year ago

image

Here you can see cursive font is not being applied anywhere tested in comments, keywords like - this, class, import

Winodws 11 (22H2) VS Code - 1.78.2

subframe7536 commented 1 year ago

I don't understand your issue very clearly. You mean ligatures don't work on italic style?

sayeed205 commented 1 year ago

I don't understand your issue very clearly. You mean ligatures don't work on italic style?

I mean the cursive style in italic font show in screenshots for example - java

but it seems after changing some setting in vscode it started to working

settings I applied

"editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": [
                    "comment",
                    "keyword", //import, export, return …
                    "storage.modifier", //static keyword
                    "storage.type", //class keyword
                    "constant", // String, Number, this, super
                    "variable.other.constant.property", //JSON key strings
                    "variable.language" //arguments, new, this
                ],
                "settings": {
                    "fontStyle": "italic"
                }
            }
        ]
    },

before - image

after - image