筆記
現在幾乎是穩定的。
作為周末的附帶項目,我將發布新的Beta版本,以修復1-2週內每日編碼中報告或遇到的錯誤,並在新網站上進行一些工作並構建工具。
如果一切順利,穩定版本將於今年晚些時候發布。

Maple Mono是一種開源單層字體,專注於平滑您的編碼流。
我創建它是為了增強我的工作經驗,並希望它對他人有用。
V7是一個完全重新設計的版本,可提供可變字體,重新設計了一半以上的字形並提供更智能的連字。您可以在此處查看V6
@ $ % & Q ->以及斜體風格的草書fijklxy 。features/CN版本將簡化和傳統的中文和日語的字形佔據,它們不如大多數CN字體正常。 CJK字形的間距非常寬鬆,可以更好地對齊,請參閱發行說明和此問題中的詳細信息。

您可以從發行版中下載所有字體檔案。
paru -S ttf-maple-betaMaple Mono )Maple Mono NL )--normal預設,帶有綁紮( Maple Mono Normal )--normal預設,無連字( Maple Mono Normal NL )-NF後綴)-CN後綴)-NF-CN後綴)MapleMono-TTF-AutoHint / MapleMono-NF / MapleMono-NF-CN等。MapleMono-OTF / MapleMono-TTF / MapleMono-NF-unhinted / MapleMono-NF-CN-unhinted ,等等。-AutoHint和-unhinted後綴?-AutoHint僅用於TTF格式。 config.json文件用於配置構建過程。查看模式或文檔以獲取更多詳細信息。
還有一些用於自定義構建過程的命令行選項。 CLI選項的優先級高於config.json中的選項。
您可以使用github操作來構建字體。
config.json中的內容Custom Build菜單項Run workflow按鈕git clone https://github.com/subframe7536/maple-font --depth 1 -b variable
docker build -t maple-font .
docker run -v " $( pwd ) /fonts:/app/fonts " -e BUILD_ARGS= " --normal " maple-font克隆回購併在本地機器上運行。確保已安裝python3和pip
git clone https://github.com/subframe7536/maple-font --depth 1 -b variable
pip install -r requirements.txt
python build.pyUbuntu或Debian ,也許還需要python-is-python3如果您在安裝依賴項時遇到困難,只需創建一個新的github codespace並在那裡運行命令
對於自定義font-patcher Args,需要font-forge (也許還需要python3-fontforge )。
也許您還應該更改config.json中的"nerd_font.extra_args"
在build.py中添加--normal標誌,用於通用配置,使字體像JetBrains Mono一樣(零斜率)。
特徵凍結有三種選擇:
enable :將綁紮規則移動到calt ,該規則將啟用功能,而無需設置字體中的cvXX / ssXX / zero ,就像默認的連接一樣disable :刪除cvXX / ssXX / zero中的功能,即使您手動啟用它也將不再效果ignore :什麼都不做使用--apply-fea-file標誌,run build.py ,來自source/features/{regular,italic}.fea功能文件將應用於變量字體。您可以對其進行修改以更改所有功能,例如刪除calt中的一些連接。
運行python build.py --cn ,CN基本字體(約135 MB)將從GitHub下載。
如果要從變量(約35 MB)構建CN基礎字體,請設置“ CN.USE_STATIC_BASE_FONT”:inform config.json和be Cathion中的"cn.use_static_base_font": false ,實例化大約需要40-50分鐘。
構建腳本將自動從GitHub下載Neccessory Assets。如果您在下載方面遇到困難,請在config.json中設置github_mirror或$GITHUB到您的環境變量。 (目標URL將為https://{github_mirror}/<user>/<repo>/releases/download/{tag}/{file} ),或者只下載目標.zip文件並將其放入與build.py同一目錄中。
usage: build.py [-h] [-v] [-d] [--debug] [-n] [--feat FEAT] [--apply-fea-file] [--hinted]
[--no-hinted] [--liga] [--no-liga] [--cn-narrow]
[--nerd-font | --no-nerd-font] [--cn | --no-cn] [--cn-both] [--ttf-only]
[--cache] [--archive]
Builder and optimizer for Maple Mono
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-d, --dry Output config and exit
--debug Add `Debug` suffix to family name, skip optimization
Feature Options:
-n, --normal Use normal preset, just like `JetBrains Mono` with slashed zero
--feat FEAT Freeze font features, splited by `,` (e.g. `--feat
zero,cv01,ss07,ss08`). No effect on variable format
--apply-fea-file Load feature file from `source/features/{regular,italic}.fea` to
variable font
--hinted Use hinted font as base font
--no-hinted Use unhinted font as base font
--liga Preserve all the ligatures
--no-liga Remove all the ligatures
--cn-narrow Make CN characters narrow (experimental)
Build Options:
--nerd-font Build Nerd-Font version
--no-nerd-font Do not build Nerd-Font version
--cn Build Chinese version
--no-cn Do not build Chinese version
--cn-both Build both `Maple Mono CN` and `Maple Mono NF CN`. Nerd-Font version
must be enabled
--ttf-only Only build unhinted TTF format
--cache Reuse font cache of TTF, OTF and Woff2 formats
--archive Build font archives with config and license. If has `--cache` flag,
only archive Nerd-Font and CN formats
SIL開放字體許可證1.1