里瓣重組明體 Recombinant IPA Ming
This repo hosts scripts and config files used to generate rIMing font, which modifies IPA mj Mincho 明朝 (IPA Font License). Glyphs from the following fonts are also used:
- I.Ming(Var) I.明體(異體) (IPA Font License)
- 梦源宋体 (SIL Open Font License): a weight-adjusted variant of Noto CJK. We use the W-3 which is close to weights of IPA/I.Ming fonts.
- BabelStone Han (Arphic Public License).
- FreeSerif (GNU FreeFont License )
This font implements the glyph forms known as 舊字形, and follows the exemplars set by the following publications
- 上海大美國聖經公會印官話和合譯本 Chinese Union Version Bible (1919)
- 辭源 (1915—1939)
- 正編 (1915)
- 續編 (1931)
- 正續編合訂本 (1939)
The modifications to the base IPA mj Mincho and choices of glyph forms are configured in the modifications.json
.
To run the script, the paths to the source fonts, namely IPA mj Mincho, I.Ming, etc. should be specified in the config.json
, by default expected in the source/
folder. The following commands will create symbolic links of source fonts in the source/
folder:
ln -s /path/to/ipamjm.ttf source/ipamjm.ttf
ln -s /path/to/I.Ming-x.xx.ttf source/I.Ming-x.xx.ttf
ln -s /path/to/I.MingVar-x.xx.ttf source/I.MingVar-x.xx.ttf
ln -s /path/to/DreamHanSerif-W3.ttc source/DreamHanSerif-W3.ttc
ln -s /path/to/BabelStoneHan.ttf source/BabelStoneHan.ttf
ln -s /path/to/FreeSerif.ttf source/FreeSerif.ttf
Alternatively, one may modify the config.json
to provide the locations of the source fonts.
Running the script
python recombine.py
will generate the result font file rIMing.ttf
as specified by the config.json
.