notofonts / noto-cjk

Noto CJK fonts
http://www.google.com/get/noto/help/cjk
3.02k stars 217 forks source link

Single ttf for all CJK languages #206

Closed timching closed 2 years ago

timching commented 2 years ago

I saw noto-source has a python script to build & merge different fonts into 1 ttf https://github.com/googlefonts/noto-source/blob/main/build_merged_noto.py

Is it possible to have a single ttf for all CJK languages? or having a build script (have duplicated character code in TC & CN, so is it possible to merge like noto-source repo?) because in our case, we need all in one ttf because of a Qt library bug, they are not supporting font family fallback.

punchcutter commented 2 years ago

There are already TTF variable fonts that contains everything in Sans CJK or Serif CJK. Others have made TTF conversions of the static fonts in other repos, but what might be easier is to either use the variable TTF or use it to generate the static instances that you want. There are various tools to do that like fontTools or web based tools like https://www.axis-praxis.org/samsa, but I haven't tried them on these particular variable fonts.

timching commented 2 years ago

Thanks for replying!! It seems that is one of the approaches to do so.

For those who have the same issue, just tried to upload different VF files to https://www.axis-praxis.org/samsa, and I think it's too large to edit in the browser (browser crashed). I just downloaded & used fontforge to edit, merge & generate my own font.