google / fonts

Font files available from Google Fonts, and a public issue tracker for all things Google Fonts
https://fonts.google.com
18.25k stars 2.62k forks source link

Khmer fonts are broken #2582

Open sovichet opened 4 years ago

sovichet commented 4 years ago

The ligatures, conjunct forms, and other OpenType features are not enabled for Khmer.

@davelab6 @marekjez86

Google-Fonts-Khmer-Broke

davelab6 commented 4 years ago

Hmm! Hanuman works but the others do not. I will contract you and Danh Hong via email :)

Screen Shot 2020-08-04 at 5 43 21 PM Screen Shot 2020-08-04 at 5 40 53 PM
danhhong commented 4 years ago

yes, i am working on this and will finish in 2 or 3 weeks.

davelab6 commented 4 years ago

Curious that free shaping works correctly outside the catalog....

sovichet commented 4 years ago

It looks like the conjunct glyphs are not included in the subset woff2 file returned from the server. I checked the 3 woff2 files loaded in Google Fonts catalog, and only base letters are there. And it seems like the feature codes are also removed too. This issue may be related to the one I posted before #2388.

Screen Shot 2020-08-05 at 10 48 38
sovichet commented 4 years ago

I guess the a particular set of OpenType Features is expected to be there. So maybe after Danh Hong updated the features, they might display correctly. :) I will also need to update my two fonts there.

khaledhosny commented 4 years ago

I think this is similar to #2612. The fonts are fine, but the website seems to be loading the wrong subset of the fonts. The fonts that work has GDEF/GSUB/GPOS in the subset, while the fonts that do not work lack them.