ruby-font-creator icon indicating copy to clipboard operation
ruby-font-creator copied to clipboard

Adding Jyutping (粵拼)

Open JaJaWa opened this issue 3 years ago • 2 comments

Hello, there are many fonts I can find with pinyin (拼音) on top, but I've never found a font with Jyutping (粵拼) on top.

Would you ever consider creating one?

This would allow you to learn Cantonese pronunciations through the many apps that only support Mandarin.

Thank you.

JaJaWa avatar Jun 29 '21 17:06 JaJaWa

I've had a look and the Jyutping is in the files as kCantonese. Now I just have to figure out how to compile it.

JaJaWa avatar Jul 05 '21 20:07 JaJaWa

You will need to:

  1. extract Jyutping (ruby) text from unihan dataset using https://github.com/parlr/chinese-data/ by modifying https://github.com/parlr/chinese-data/blob/f1af9d1c18/src/chinese.awk to pull kCantonese instead of kMandarin.
  2. generate the JSON file with yarn start

Once this is done you can use ruby-font-creator

  • ruby text is the text above the character.

edouard-lopez avatar Jul 07 '21 10:07 edouard-lopez