kolibri: Khmer(km) font (and other scripts with ascenders + descenders) render badly broken in Firefox
Observed behavior
Khmer language rendering is not correct in latest Firefox on Ubuntu gnu/Linux. Somehow Google-chrome handles this much better.
Developer tools console in FF reports(Not sure if this related):
[WARN: kolibri/core/assets/src/utils/setupAndLoadFonts.js] Could not load full font for ‘km’ setupAndLoadFonts.js:78:14 In Firefox, Noto Khmer font seems to be sanitized. downloadable font: rejected by sanitizer (font-family: “noto-full” style:normal weight:400 stretch:100 src index:0) source: http://127.0.0.1:8009/static/assets/fonts/noto-full.NotoSansKhmer.400.woff
…
Expected behavior
This is how the font is rendered in latest Google-Chrome.
…
User-facing consequences
Khmer users can not use Kolibri in Firefox …
Errors and logs
…
Steps to reproduce
…
Context
…
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (18 by maintainers)
Focal, Xenial, Bionic and Trusty are built and released. If you need another one, please, let me know it
@radinamatic I have tested 0.14.6alpha release on my development machine. It does fix the font issue for Khmer and Hindi.
Once the PPA repo packages are created for this release, I push build so our team could do further testing.
We suspect that this might be caused by an issue in the build system related to git LFS and the font files. We’ve made a temporary change to our build system that should address the issue, and I will tag a new 0.14.6 pre-release right now to do some testing.
@radinamatic This problem affects other south asian languages. https://kolibri-demo.learningequality.org/hi-in/learn/#/topics