实现字体自由,推荐霞鹜文楷

超级喜欢霞鹜文楷, 安利给大家。

之前我只是给自己博客使用,今天偶然从同事那学习到的,浏览器也可以设置字体对所有网站生效,幸福感+++

预览 霞鹜文楷

原生字体

衍生字体 - 手写

版本问题

放心使用,无所顾忌

  • 免费使用,包括商用,均可自由使用,无需标明
  • 自由传播分发
  • 可以改作衍生,上面示例就有
  • 禁止单独售卖字体

安装字体

由于是第三方字体,需要手动安装

macOS安装

基于brew操作哈,需要添加字体库

brew tap homebrew/cask-fonts
brew update

搜索相关字体brew search lxgw

根据自己的需要选择安装,这里我示例安装:

brew install font-lxgw-wenkai

Windows安装

如果已经安装过 Scoop,可以在终端输入命令:

scoop bucket add nerd-fonts && scoop install LXGWWenKai

或者

scoop bucket add nerd-fonts && scoop install LXGWWenKaiMono

安装本字体。亦可查看微软官方教程:如何在 Windows 中安装或删除字体

或者直接从https://github.com/lxgw/LxgwWenKai/releases 页面下载ttf,下载完成后直接安装

浏览器设置

不同浏览器大同小异, 设置-外观-字体-自定义字体

选择霞鹜文楷

终端设置

可选,这里字体设置14看上去更舒服些

Sponsor

Like this article? $1 reward

Comments

According to the relevant laws and regulations of the People's Republic of China, the comment function of the current website has been disabled. If you need to comment, please visit ysicing.me, but the comments still need to be reviewed by AI.