satbyy / go-noto-universal

Noto fonts go universal! Download pan-Unicode, merged Noto fonts according to time of usage (current, ancient) or geographical region (South Asia, SE Asia, Africa-MiddleEast, Europe-Americas).
Other
151 stars 21 forks source link

Fix the build #49

Closed dscorbett closed 1 year ago

dscorbett commented 1 year ago

The build has been broken for a long time because of three Noto fonts.

Noto Sans Math now contains a MATH table, which pyftmerge can’t merge. I dropped it. The font was still slightly too big to fit in one of the CJK fonts, so I excluded some glyphs only relevant to the MATH table.

Noto Sans Duployan used to be just a basic code chart font, but now it is fully supports Duployan. All that complexity causes an overflow error, so I removed most of it. The subset is only a little less basic than the old font. (I had to modify the upstream font to make this possible while keeping the subsetted font legible: https://github.com/dscorbett/duployan-font/commit/eb534771814ff3028134a7ee450bf274c53a8998, https://github.com/dscorbett/duployan-font/commit/988748b5a71efa06e7c277a95f4c8d6a8cc72c82, and https://github.com/dscorbett/duployan-font/commit/500d43f881175660e8efe7221c4833e62ff5b57a.) Also, the URL for the hinted Duployan TTF leads to an unhinted OTF; the URL for the unhinted TTF works instead.

Noto Nastaliq Urdu is too big for Go Noto South Asia, so I replaced it with Noto Naskh Arabic. This is not ideal but I couldn’t find a better alternative. I tried subsetting Noto Sans Malayalam, which currently supports the obsolete 'mlym' script tag, but that wasn’t enough.

satbyy commented 1 year ago

Thanks a lot @dscorbett!

Apologies for the delay, life caught up.