正在自动登录…
← 返回项目列表antfu/
antfu/ furifont
Furifont 是一款日语字体,通过 OpenType 连字自动在汉字上方显示假名读音,无需 ruby 标记或 JavaScript,适用于支持自定义字体的任何场景。
AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/18 21:01:10 · 查看原文
- 累计 Stars
- 386
- 当前热度
- 未达当前门槛
- 仓库创建时间
选用指南
AI 根据 README 整理 · 2026/10/18 21:01:10
- 使用方式
通过 CSS 设置 font-family 为 'Furifont Sans' 或 'Furifont Serif' 使用,也可通过网站上的书签或用户脚本为任意网页应用。
查看 README 依据
 # Furifont <img src="logo.svg" style="float: right;" alt="Furifont" width="96" height="96"> **Furigana, set by the font.** A Japanese font that shows furigana by itself. The text stays plain: no `<ruby>` markup, no JavaScript, no plugin. It works everywhere that supports custom fonts. Check out the demo and playground on **[furifont.antfu.me](https://furifont.antfu.me)** <!-- eslint-skip --> ```html <p class="furifont">今日は日本語の勉強をします。</p> <style> .furifont { font-family: 'Furifont Sans'; line-height: 1.7; } </style> ``` ## How it works
## Download Each [release](https://github.com/antfu/furifont/releases/latest) has Sans and Serif, in Hiragana and Romaji, Regular as OpenType and WOFF2, and a variable font of every weight from ExtraLight to Heavy (`Furifont Sans VF`), as TrueType and WOFF2, whose furigana follows the weight of the text. Set `line-height` to 1.6 or more so the furigana is not clipped. ## Use on websites The [website](https://furifont.antfu.me) has a bookmarklet and a [userscript](https://furifont.antfu.me/furifont.user.js) that set any page in Furifont, with optional okurigana readings. ## Build your own
- 部署要求
构建自定义字体需要 Node 22.18 或更高版本。
查看 README 依据
Choose another base font, word list, furigana letters or sizes. Needs Node 22.18 or later. ```sh npx furifont dev # Customize: live preview in your browser npx furifont build --base "Source Han Serif JP Bold" --script hepburn --family "My Furigana" ``` Settings live in `furifont.config.json`; their defaults are in [`packages/core/src/defaults.ts`](packages/core/src/defaults.ts). | Package | | | --- | --- | | [`furifont`](packages/cli) | The CLI and the server behind Customize | | [`@furifont/core`](packages/core) | Plans glyphs and OpenType rules from a dictionary |
- 已知限制
由于字体只能看到连续的汉字串,无法理解句子上下文,注音可能不正确。
查看 README 依据
Furifont is compiled from Source Han Sans JP or Source Han Serif JP. A build step reads a dictionary of thousands of words and draws the furigana into new glyphs. For each word, the font holds a ligature: 今日 becomes one glyph with きょう above it. Longer words win (日本語 before 日本), and a kanji with no clear reading stays bare. Details on the [website](https://furifont.antfu.me) and in [docs/design.md](docs/design.md). > [!WARNING] > Furigana might be incorrect, due to the limits of fonts: a font sees one run of kanji at a time, not the sentence around it. Keep that in mind when you read.
README
正在加载 README…
收录信息
- 仓库创建时间
- 2026/10/12 18:27:56
- 首次达标收录
- 2026/10/18 20:56:26
- 统计更新时间
- 2026/10/22 19:05:54
按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。
模型评估
值得看加权总分 3.9 / 5
由 Jev 模型根据仓库描述与 README 评估,2026/10/18 20:56:26 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。
仓库信息
- 最近推送
- 2026/10/21 17:19:31
- 许可证标识
- MIT
- Fork 数
- 3
- 当前状态
- 未归档
收录记录
按创建时长与累计 Stars 首次收录:小火
首次发现项目