简体   繁体   English

Dank Mono 不适用于 Ubuntu 上的 VSCode

[英]Dank Mono isn't working on VSCode on Ubuntu

I downloaded the latest release of Dank Mono, and I installed it on Ubuntu 18.04 using Font Manager.我下载了最新版本的 Dank Mono,并使用字体管理器将其安装在 Ubuntu 18.04 上。

I see it installed on my system, but when I use it in VSCode and Hyper.js Terminal Settings, they do not behave correctly.我看到它安装在我的系统上,但是当我在 VSCode 和 Hyper.js 终端设置中使用它时,它们的行为不正确。 I have ligatures enabled and before that Fira Code worked just fine.我启用了连字,在此之前Fira Code工作得很好。 So, why is my font so different than the site?那么,为什么我的字体与网站如此不同? How do I fix it?我如何解决它?

Here are my JSON Settings in VSCode:这是我在 VSCode 中的 JSON 设置:

{
    "window.zoomLevel": -1,
    "editor.fontFamily": "Dank Mono",
    "editor.fontLigatures": true,
    "editor.fontSize": 14,
    "terminal.integrated.fontFamily": "Dank Mono",
    "terminal.integrated.fontSize": 14,
    "editor.tabSize": 2,
    "editor.wordWrap": "on",
    "editor.fontWeight": "600",
    "liveServer.settings.donotShowInfoMsg": true,
    "terminal.integrated.cursorStyle": "line",
    "editor.multiCursorModifier": "ctrlCmd",
    "javascript.updateImportsOnFileMove.enabled": "always",
    "javascript.implicitProjectConfig.experimentalDecorators": true,
    "html.format.wrapLineLength": 80,
    "vsicons.projectDetection.autoReload": true,
    "workbench.colorTheme": "City Lights",
    "workbench.iconTheme": "city-lights-icons-vsc-light"
}

Click on the font and then install it, but just before you do, hit the info button right beside the install button(on Linux) and then verify the name of the font.单击字体然后安装它,但在此之前,请点击install按钮旁边的info按钮(在 Linux 上),然后验证字体的名称。 After installing and adding editor.fontFamily: <the-name-specified-by-font> to your settings.json file restart the editor.安装并将editor.fontFamily: <the-name-specified-by-font>settings.json文件后,重新启动编辑器。

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

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