为什么 Fira Code 字体在 VS Code 中看起来很模糊?

for*_*d04 2 fonts visual-studio-code fira-code

我想在 VS Code (Windows) 中使用 Fira Code,并且已经按照说明中的说明配置了字体。不知何故,字体看起来很模糊。我该如何解决这个问题?

"editor.fontFamily": "'Fira Code'",
"editor.fontLigatures": true,
Run Code Online (Sandbox Code Playgroud)

for*_*d04 5

确保安装适用于 Windows(和 Linux)的TTF -而不是OTF。模糊的字体可能表明选择了错误的字体类型。

检查(Windows 10):

- 在搜索面板中输入“字体”并选择字体设置

在此输入图像描述

- 过滤到 Fira 代码并单击面板

在此输入图像描述

- 检查每个字体,该字体文件具有".ttf"扩展名

在此输入图像描述

- 如果不是 (.otf),请使用卸载按钮并重复字体安装(现在为 TTF)。