maple-font README

项目的 README,来自 github.com/subframe7536/maple-font。合并为一个 markdown 文件:README.md。

Cover

subframe7536%2Fmaple-font | Trendshift Featured|HelloGitHub

GitHub Repo Stars GitHub Repo Forks X (formerly Twitter) Follow

GitHub Release GitHub Downloads (all assets, all releases) GitHub Repo License GitHub Repo Issues

Download | Website | Playground | Docs | English | 简中 | 繁中 | 日本語 | 한국어

[!WARNING] This branch hosts V8, which is still under development and has not been officially released. For the stable version, use the v7 branch.

Maple Mono

Maple Mono is an open-source monospace font designed to make coding more comfortable and efficient. I created it to improve my own productivity, and hope it helps more people enjoy writing code.

Highlights

CJK

CJK glyphs use a 2:1 width ratio with Latin characters to keep multilingual text and Markdown tables aligned; as a trade-off, the default CJK spacing is wider than in many other CJK fonts (why). Compared with V7, V8 greatly expands and improves its CJK coverage.

Locale Coverage CJK font source
CN Simplified Chinese, with common Traditional Chinese and Japanese ranges WenYuan Rounded SC
TC Traditional Chinese Chiron Go Round TC
JP Japanese Resource Han Rounded JP
KR Korean Chiron Go Round TC, filtered to Korean ranges

2-1.png

See CJK Build for details.

Preview

showcase.png

Generated with CodeImg, theme Maple, 16px font size, 1.8 line height, default letter spacing.

Ligatures & Variants

Maple Mono ships smart ligatures (enabled through calt), character variants (cvXX), and stylistic sets (ssXX), supported by most modern operating systems, browsers, terminals, and editors. See OpenType Features for the complete list, or try them live in the Playground.

Styles at a Glance

Normal preset Infinite arrow ligatures
Normal preset Infinite arrow ligatures
Widths Nerd Font icons
Width comparison Nerd Font spacing modes

See Build Options for how to build each style.

Install

Download the font archives from Releases, or install the most common package (Maple Mono NF) with a package manager:

# Scoop (Windows)
scoop bucket add nerd-fonts
scoop install Maple-Mono-NF
# Homebrew (macOS, Linux)
brew install --cask font-maple-mono-nf
# Arch Linux (archlinuxcn)
paru -S ttf-maplemono-nf-unhinted
# Nixpkgs: add `maple-mono.NF-unhinted` to `fonts.packages`

Package managers currently ship v7.9. See the installation guide for all packages.

CDN

Which File Should I Choose?

Use case Choose
General coding TTF or OTF
Terminal icons NF, NFMono, or NFPropo
Icons and CJK together NF-CN, NF-TC, NF-JP, or NF-KR
Web pages WOFF2

See Naming and Choosing Fonts for every package and the hinted / unhinted difference.

Usage

See the usage guide for VS Code, JetBrains IDEs, Zed, Windows Terminal, Kitty, and Ghostty.

Make Your Own Build

Every highlight above can be tuned at build time through config.json or build.py options. Choose from the following build methods:

See Custom Build for details.

Documentation

Credits

Sponsorship

If this font is helpful to you, please consider sponsoring me through Afdian.

Star History

Star History Chart

License

SIL Open Font License 1.1

maple-font (subframe7536/maple-font)

正在搜索数据库…

这是什么?Maple Mono 是一款开源等宽字体,带有圆角设计、智能连字和内置的 Nerd-Font 图标,目的是让你在 IDE 和终端里写代码时更顺手。
Maple Mono 和其他编程字体比有什么不一样?它有圆角字形,像 f、i、j、k、l、x、y 这样的字母还提供手写风格的斜体,并且内置了大量智能连字。V7 是可变字体,字重可以连续调节,还为终端提供了一流的 Nerd-Font 图标支持。
我该选带 hinting 的版本还是不带 hinting 的版本?在 1080p 或更低分辨率的屏幕上,请选带 hinting 的版本,比如 MapleMono-TTF-AutoHint,否则文字可能会显得错位或粗细不均。在 MacBook 这类高分辨率屏幕上则选不带 hinting 的版本,因为 hinting 反而会让文字发虚。
有 NF、CN、NL 和 NF-CN 这几种变体,该怎么选?Maple Mono 是默认版本,带连字;NL 去掉了连字。NF 增加了 Nerd-Font 图标,CN 增加了中文和日文字形,NF-CN 则是全功能版本。格式方面有 TTF(推荐)、OTF、网页用的 WOFF2,以及 Variable(可变字体)。
CN 版本多了什么?它基于 Resource Han Rounded 制作,支持简体中文、繁体中文和日文,并且中英文字符之间做到了精确的 2:1 等宽对齐。注意,它的中文间距比常见中文字体要宽一些,而且 CN 版本没有可变字体格式。
我能自己构建一个只包含想要功能的版本吗?可以。修改 config.json 后,可以通过 GitHub Actions 构建(先 fork 仓库,再运行 Custom Build 工作流)、用 Docker 构建,或者在本地构建;命令行参数会覆盖配置文件里的设置。浏览器版 Playground 里也有 Custom Build 按钮,目前仅支持固定 OpenType 特性。
这个字体还在更新吗?这个分支是 V7 的冻结快照;活跃开发已经转移到 variable 分支,V8 的最新功能和修复都在那边进行。
大小
139.6 MB
星标
29.8K
时长
4年
提交 · 90 天