GitHunt

Mengshen Pinyin Font(萌神拼音字体)

支持多音字的 OSS 拼音字体及其制作工具。

OpenSource Pinyin font and creation tool that supports homographs (多音字).

version
updated

日本語版: README_ja.md


目录 / Contents


字体预览 / Font Preview

explain_han_serif
explain_handwritten
characteristic_point


特点 / Features

支持日语、简体中文、繁体中文显示的字体。
简体字和繁体字自动标注拼音。
多音字(同一汉字有多个读音)根据上下文自动切换读音。
主要面向中文、日语学习者。

A font that displays Japanese, Simplified Chinese, and Traditional Chinese characters.
Pinyin is automatically annotated for Simplified and Traditional Chinese characters.
Homographs (多音字) — characters with multiple readings — are automatically switched based on context.
Intended for learners of Chinese and Japanese.

  • 16,026个汉字自动标注拼音 / Automatic pinyin for 16,026 characters
  • 多音字根据上下文自动切换 / Context-aware homograph (多音字) switching
  • 支持通过 IVS 手动切换 / Manual switching via Unicode IVS
  • 支持简体字、繁体字、日语汉字、平假名、片假名 / Simplified, Traditional, Japanese, Hiragana, Katakana
  • 两种风格(宋体、手写体) / Two styles (Serif, Handwritten)

字体变体 / Font Variants

变体 / Variant 风格 / Style 基础字体 / Based on
Mengshen-HanSerif 宋体 / Serif Source Han Serif + M+ M Type-1
Mengshen-Handwritten 手写体 / Handwritten Xiaolai Font + SetoFontSP

下载 / Download

Download/下载


安装方法 / Installation


使用示例 / Use Cases

可在微博、Netflix、歌词、新闻、MS Word 等场景中使用。

You can use this font in Weibo, Netflix, Lyrics, News, MS Word, and more.

Language Learning with Netflix 配合使用,可在字幕中同时显示汉字和拼音。

Combined with Language Learning with Netflix, Chinese subtitles can be shown with pinyin annotations.

An-example-of-how-to-use


多音字原理 / How Homographs Work

为支持多音字,本字体实现了 OpenType 的上下文替换功能(GSUB 表的 "rclt" 特性)。
也可通过 Unicode IVS(表意文字变体选择器)手动切换读音。
详情请参阅 IVS 设置指南

To support homographs (多音字), contextual replacement via OpenType GSUB ("rclt" feature) is implemented.
You can also manually switch readings using Unicode IVS (Ideographic Variant Selector).
See the IVS Setup Guide for details.

using_contextual_replacing
using_ideographic_variant_selector


平台兼容性 / OS Compatibility

Platform Automatic pinyin switching (Contextual Replacement) Manual pinyin switching (IVS) Notes
Windows
using-contextual-replacing-on-win.mp4
using-ideographic-variant-selector-on-win.mp4
IME Pad for IVS
Mac
using-contextual-replacing-on-mac.mov
using-ideographic-variant-selector-on-mac.mov
Character Viewer for IVS
Android android-chrome-rclt - zFont Setup GuideMagisk module (root required, IVS works in Chrome only)

指南 / Guides

文档 / Document English
字体构建指南 / Build Guide English
IVS 手动切换指南 / IVS Setup English
Word 设置 / Word Setup English
Android 安装 / Android Install English

支持的多音字列表 / Homograph List


构建字体 / Building the Fonts

# Docker 构建(推荐) / Docker generation (recommended)
docker-compose -f docker/docker-compose.yml up pipeline-han-serif
docker-compose -f docker/docker-compose.yml up pipeline-handwritten

详情请参阅 构建指南(日语) / Build Guide (English)


关于项目 / About

我们是一个致力于学习和推广中文的团队。

We are a group dedicated to learning and promoting the Chinese language.


致谢 / Acknowledgments

Thank you to the following people and repositories.


打赏 / Donate

点击进入打赏页面

MaruTama/Mengshen-pinyin-font | GitHunt