简体   繁体   English

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

[英]Why does Fira Code font look blurry in VS Code?

I want to use Fira Code in VS Code (Windows) and have already configured the font as explained in the instructions .我想在 VS Code (Windows) 中使用 Fira Code,并且已经按照说明中的说明配置了字体。 Somehow, the font seems to look blurry.不知何故,字体看起来很模糊。 How can I fix that?我该如何解决?

"editor.fontFamily": "'Fira Code'",
"editor.fontLigatures": true,

Make sure to install TTF for Windows (and Linux) - not OTF.确保为 Windows(和 Linux) 安装TTF -而不是OTF。 A blurry font likely indicates, that the wrong font type is chosen.模糊的字体可能表明选择了错误的字体类型。

Check (Windows 10):检查(Windows 10):

- Type "font" in search panel and select Font settings - 在搜索面板和 select 字体设置中键入“字体”

在此处输入图像描述

- Filter to Fira Code and click the panel - 过滤到 Fira 代码并单击面板

在此处输入图像描述

- Check for each font face, that font file has ".ttf" extension - 检查每个字体,字体文件具有".ttf"扩展名

在此处输入图像描述

- If not (.otf), use the uninstall button and repeat font installation (now TTF). - 如果不是 (.otf),请使用卸载按钮并重复字体安装(现在是 TTF)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM