首次正式釋出,含 Regular 與 Bold 兩個字重。
這是什麼:一款為繁體中文程式設計而生的等寬字型。中英文 2:1 精準對齊——漢字 advance 1000、拉丁 500(unitsPerEm 1000),兩個英文字元恰好佔一個中文字的寬度,中英混排時欄位不再偏移。
中文骨架取自 芫荽 Iansui(Fontworks Klee One 的台灣在地化,字形依教育部標準字體),英數與符號取自 Red Hat Mono。兩者皆為 OFL 授權。
內容
| 項目 | 內容 |
|---|---|
| 字重 | Regular(400)、Bold(700) |
| 字符數 | 15,618 glyph/12,762 Unicode 碼位 |
| 漢字覆蓋 | CJK 統一漢字 10,017 + 擴充 A 區 127 |
| 其他覆蓋 | 注音符號 43、日文假名 187、希臘 54、西里爾 66、Latin-1 補充 95 |
| 格式 | TrueType,unitsPerEm = 1000 |
關於 Bold
Bold 的英數字是真正的 Bold 字重——Red Hat Mono 是可變字型,直接取 wght=700 的實例。
中文則是輪廓膨脹合成的。芫荽 Iansui 沒有更粗的字重可用(它本身就是以 Klee One 的 SemiBold 為底製作的),上游沒有更粗的來源可接。合成採橢圓筆刷,讓豎畫加粗較多、上下堆疊的橫畫間隙少損失,密筆畫字在 15px 這種實際編輯字級下才保得住可讀性;超出字身框者另以水平線性縮放壓回,2:1 對齊不受影響。
小字級下清晰可用,但終究是合成的,筆鋒細節不如原生設計的粗體。
安裝
下載下方的 CilantroCodeMono-Regular.ttf 與 CilantroCodeMono-Bold.ttf(兩個都裝,編輯器才有粗體可用):
- Windows — 對檔案按右鍵 →「安裝」
- macOS — 雙擊 → 在「字體簿」按「安裝字體」
- Linux —
mkdir -p ~/.local/share/fonts && cp CilantroCodeMono-*.ttf ~/.local/share/fonts/ && fc-cache -fv
編輯器的字型名稱請填 Cilantro Code Mono(中文環境會顯示為「香菜碼等寬」,兩者是同一套字)。
已知限制
- 沒有 Italic
- 沒有 programming ligature(
=>、!=、->不會合併成連字) - Bold 的中文是合成加粗,非原生設計字重
- 檔案偏大:Regular 9.5 MB、Bold 19.8 MB,作為網頁字型建議自行 subset 或轉 WOFF2
授權:SIL Open Font License 1.1(保留字型名稱:Cilantro Code、香菜碼)
English — First release of Cilantro Code Mono, a Traditional Chinese (Taiwan) monospace coding font with exact 2:1 duospace metrics: Han characters advance 1000 units, Latin 500 (upem 1000), so two Latin characters occupy exactly one Han cell and mixed-script columns stay aligned.
Han characters come from Iansui — a Taiwanese localization of Fontworks' Klee One textbook typeface following Taiwan MOE standard character forms — and Latin, digits and symbols from Red Hat Mono by MCKL.
Ships in Regular (400) and Bold (700). The Bold's Latin is a genuine wght=700 instance of the Red Hat Mono variable font; the CJK is synthesised by outline dilation, as Iansui has no heavier weight to draw from (it is itself built on Klee One's SemiBold). An elliptical brush puts more weight on vertical strokes so the gaps between stacked horizontal strokes survive, keeping dense characters legible at editor sizes.
Coverage: 10,017 CJK Unified Ideographs + 127 Ext-A, plus Bopomofo, Kana, Greek and Cyrillic. No Italic, no programming ligatures. Set your editor font family to Cilantro Code Mono. SIL Open Font License 1.1.
