-
Notifications
You must be signed in to change notification settings - Fork 81
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
Benghali font replacement #585
Comments
As mentioned by @ian-ross in Slack, this can be remedied by using web fonts. We really cannot expect users to have fonts installed for all possible Unicode scripts. |
How difficult is this to fix? @fhpichel is headed to Bangladesh so it would be good to tidy this up. |
Not hard, I'll look at it this evening. |
Spoke too soon - I don't think there is anything we can do. Its a browser-based issue so fixes are available for the user to change the default font for their preferred browser. I'm trying to brainstorm if there is another way. If we knew the project/org font was benghali, we could force a font substitution on our side via css but we currently don't have any way of knowing that and I'm not sure it would be that easy. I'm totally open for other ideas on this one... Is it currently broken for @fhpichel? If so, I can reach out to assist him on getting it fixed on his browser. |
Couldn't a fallback font in the CSS work for this? https://en.wikipedia.org/wiki/Fallback_font |
One thought is that most Bengali speakers would be likely to have the right font installed. (I'm guessing here) |
Hi, I've just checked in my laptop with Chrome, Firefox and Safari (for desktop), and for Chrome for Android, and with all of them is working fine. Thanks! |
Regarding the fallback fonts. It's in the CSS specification that when you list a bunch of fonts in the So there is no need to detect which language or script our organization or project names are using. Just provide a list of fonts in |
There's this, which has glyphs for all of the Unicode basic multilingual plane (which covers most languages currently in use): https://en.wikipedia.org/wiki/GNU_Unifont I've been trying to find a webfont version of it, without luck though. |
I have found this font replacement to be the best even though its only in ttf format: Noto Sans Bengali I would like for someone who was seeing the hex boxes to confirm that this is working correctly for them. |
Noto Sans Bengali font for Bengali replacement
I checked it and commented when I merged the PR, but I guess the PR didn't have the magic to close the issue. Anyway, it works! |
Steps to reproduce the error
Look at staging site organization index
Actual behavior
Unreadable font for Benghali organization
Expected behavior
Fonts are replaced to be readable instead of boxes
Current:
Expected:
The text was updated successfully, but these errors were encountered: