Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Jyutping (粵拼) #45

Open
JaJaWa opened this issue Jun 29, 2021 · 2 comments
Open

Adding Jyutping (粵拼) #45

JaJaWa opened this issue Jun 29, 2021 · 2 comments

Comments

@JaJaWa
Copy link

JaJaWa commented Jun 29, 2021

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
Copy link
Author

JaJaWa commented Jul 5, 2021

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.

@edouard-lopez
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants