MCPcopy Index your code
hub / github.com/MaruTama/Mengshen-pinyin-font

github.com/MaruTama/Mengshen-pinyin-font @1.03

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.03 ↗ · + Follow
136 symbols 375 edges 25 files 6 documented · 4% updated 4mo agov20250816-153246 · 2025-08-16★ 24712 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Mengshen(萌神)-pinyin(拼音)-font

OSS の多音字に対応した拼音フォント及びその作成ツールです。 / OpenSource Pinyin font and creation tool that supports homograph (多音字).

Download/下载

version updated

explain_han_serif
explain_handwritten
characteristic_point

私達は中国語の学習や普及を目的としているグループです。/ We are a group dedicated to learning and promoting the Chinese language.
- 萌神PROJECT - 「萌神フォント」誕生しました! - 「萌神フォント」Ver.2ができました! - メイカーのための中国語入門 フォント指定だけで拼音がつく萌神フォント開発秘話編


目的 / Purpose

基本的な日本語、簡体字、繁体字を表示できるフォントであり、 簡体字と繁体字には拼音を併記するフォントの作成です。/ This fonts can display basic Japanese, Simplified Chinese and Traditional Chinese, and We created a font that includes Chinese romanization for both Simplified and Traditional chinese characters.


想定利用者 / Target User

日本語、中国語の学習者 / Japanese and Chinese language learners


フォントのインストール方法 / Font Installation Instructions


使用例 / use case

e.g. 微博, Netflix, Lyrics, News, etc.

Improve your skills on your own, effectively and enjoyably, by watching films and series in the language you study.
Subtitles are shown Chinese characters and pinyin.
Language Learning with Netflix
An-example-of-how-to-use


技術的要素 / Technical elements

多音字をサポートするためにコンテキスト置換(feature tag of "rclt" at GSUB)を実装しました。 また、Unicode IVS(表意文字バリアントセレクター)を使用して、異なる拼音に切り替えることもできます。/ Implemented contextual replacing to support homograph (多音字). You can also use Unicode IVS (ideographic variant selector) to switch other different pinyin.

using_contextual_replacing
using_ideographic_variant_selector


対応している多音字の一覧 / List of supported homograph

生成方法 / How to make fonts


謝辞 / Acknowledgments

Thank you to the following people and repositories. - @NightFurySL2001-san - @lanyizi-san - BPMF IVS - kose-font - SetoFontSP - Source-Han-TrueType - M+ M Type-1


カンパ/打赏/Donate

点击进入打赏页面

Core symbols most depended-on inside this repo

get_name
called by 5
res/phonics/duo_yin_zi/scripts/phrase.py
get_list_pinyin
called by 5
res/phonics/duo_yin_zi/scripts/phrase.py
count
called by 3
tools/count_character.py
process_shell
called by 3
src/retrieve_latin_alphabet.py
get_advance_size_of_pinyin_glyf
called by 3
src/font.py
generate_hanzi_glyf_with_pinyin
called by 3
src/font.py
count_variational_pinyin
called by 3
res/phonics/duo_yin_zi/scripts/validate_phrase.py
replace_chr
called by 3
res/phonics/duo_yin_zi/scripts/make_pattern_table.py

Shape

Function 81
Method 50
Class 5

Languages

Python100%

Modules by API surface

src/font.py22 symbols
res/phonics/duo_yin_zi/scripts/make_pattern_table.py15 symbols
tools/count_character.py10 symbols
src/pinyin_glyph.py10 symbols
src/GSUB_table.py10 symbols
src/retrieve_latin_alphabet.py9 symbols
res/phonics/unicode_mapping_table/make_unicode_pinyin_map_table.py7 symbols
res/phonics/duo_yin_zi/scripts/validate_phrase.py7 symbols
res/phonics/duo_yin_zi/scripts/phrase_holder.py7 symbols
src/utility.py6 symbols
src/make_template_jsons.py6 symbols
res/phonics/duo_yin_zi/scripts/phrase.py6 symbols

For agents

$ claude mcp add Mengshen-pinyin-font \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page