polyfusia / pebble-japanese-custom-font

unofficial japanese language pack for Pebble Time
9 stars 2 forks source link

Unofficial japanese language pack for Pebble Time

NOTICE: this language pack is unofficial and no warranty.

Font set generated from Google Noto Sans CJK JP thin weight (Apache Licence).

Original character set is referring michi_j23.pbl from below.

To make custom language pack, need Pebble Firmware Utils.

also, need custom fontgen.py by medicalwei.

build example

example is below.

# generate font file.

## 001/002 for height 14. offset is 2.
$ python fontgen.py pfo --extended --list codepoints.json --heightoffset 2 12 NotoSansCJKjp-Thin.otf 001

## 003/004 for height 18. offset is 4
$ python fontgen.py pfo --extended --list codepoints.json --heightoffset 4 14 NotoSansCJKjp-Thin.otf 003

## 005/006 for height 24. offset is 7
$ python fontgen.py pfo --extended --list codepoints.json --heightoffset 7 17 NotoSansCJKjp-Thin.otf 005

## 007/008 for height 28. offset is 8
$ python fontgen.py pfo --extended --list codepoints.json --heightoffset 8 20 NotoSansCJKjp-Thin.otf 007

# packing

$ python pbpack_tool.py pack pbl/NotoSans-ja_JP.pbl custom_font/*

reference and thanks!!

Contact