Font

  

"l·l" Ligature in "Source Code Pro" incorrectly invoked when render whitespace is enabled · Issue #106583 · microsoft/vscode · GitHub

Cascadia Code

Windows 终端 Cascadia Code | Microsoft Docs 

Fira Code

Releases · tonsky/FiraCode · GitHub 

DejaVu Fonts

https://dejavu-fonts.github.io/Download.html 

Liberation Mono

https://www.fontsquirrel.com/fonts/liberation-mono 

Source Code Pro

https://github.com/adobe-fonts/source-code-pro/releases

 

安装字体:

Windows:

打开TTF文件夹,将后缀名为.ttf的文件copy到C:\Windows\Fonts目录下,copy完成后,下面会出现Source Code,双击打开,会发现windows字体已经归类,这就表示安装完成了。


Linux: 
dnf install fontconfig

 

Ubuntu:

 

 Fedora:

 

查看中文字体:

fc-list :lang=zh-cn

 

安装Source Code Pro

mkdir -pv /usr/share/fonts/truetype
cp -r source-code-pro-2.030R-ro-1.050R-it/TTF/* /usr/share/fonts/truetype/source-code-pro
fc-cache -fv

 

安装Windows字体

  1. 进到 C:\Windows\Fonts 找到字体
     

      

  2. mkdir -pv /usr/share/fonts/zh-cn

    复制 STXINGKA.TTF 至上面目录

    fc-cache -fv

    字体名字 使用 'STXingKai' OR '华文行楷' 建议使用前者

    效果图

     

Linux 修改终端字体:

RHEL:

复制代码
dnf install terminus-fonts-console
# /usr/lib/kbd/console-fonts/
# setfont ter-v18b 
# systemd-vconsole-setup.service /etc/vconsole.conf  man vconsole.conf
KEYMAP="us"
FONT="ter-v18b"
# grub
GRUB_CMDLINE_LINUX="vconsole.keymap=us vconsole.font=ter-v18b rhgb quiet"
复制代码

Ubuntu:

复制代码
# /etc/default/console-setup
# /usr/share/consolefonts
# showconsolefont setupcon
ACTIVE_CONSOLES="/dev/tty[1-6]"
CHARMAP="UTF-8"
CODESET="guess"
FONTFACE="TerminusBold"
FONTSIZE="10x20"
复制代码

  

otf ttf

TTF(TrueType) 

Windows和Mac系统最常用的字体格式,其最大的特点就是它是由一种数学模式来进行定义的基于轮廓技术的字体,这使得它们比基于矢量的字体更容易处理,保证了屏幕与打印输出的一致性。同时,这类字体和矢量字体一样可以随意缩放、旋转而不必担心会出现锯齿。 

OTF(OpenType)

OpenType是微软和Adobe共同开发的字体,微软的IE浏览器全部采用这种字体。致力于替代TrueType字体。 

 

 

posted @   ascertain  阅读(241)  评论(0编辑  收藏  举报
编辑推荐:
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
历史上的今天:
2020-10-09 shell中 ! exclamatory mark感叹号详解
2020-10-09 return echo 返回值,返回状态码 shell
2020-10-09 LInux使用NetworkManager管理网络
点击右上角即可分享
微信分享提示