You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Myanmar text doesn't display properly on Ubuntu #12944
On Ubuntu 16.04 with two Myanmar fonts i.e. Noto Sans Myanmar and Padauk installed, Servo Commit 9415252 cannot display Myanmar text properly as shown below:
changed the title [-]Servo Commit 94152523 does not display Myanmar text properly[/-][+]Myanmar text doesn't display properly on Ubuntu[/+]on May 11, 2020
The following HTML seems to render properly on Linux, so I suspect that the issue here is really that we don't have the right fonts in the fallback list. This should be fixed fairly soon.
<!DOCTYPE html><htmllang="en" class=" zzndpnpnv idc0_350"><scriptsrc="myanmar_files/inject.js"></script><head><metahttp-equiv="content-type" content="text/html; charset=UTF-8"><metacharset="utf-8"><title>myanmar</title></head><body><div><spanstyle="font-family: 'Noto Sans Myanmar';">မြန်မာစာမြန်မာစာ</span></div></body></html>
I suspect that the issue here is really that we don't have the right fonts in the fallback list. This should be fixed fairly soon.
When I was reporting this issue in 2016, I thought somewhat similar to what you mentioned. I even made a similar experiment using Noto Sans Myanmar. Perhaps I've overlooked something.
Activity
veer66 commentedon May 11, 2020
Although #4901 was closed, Servo 0.0.1-70d4e142f still doesn't display Myanmar text.
jdm commentedon May 11, 2020
Updated link: https://file.veer66.rocks/servo_test/myanmar.html
I can't reproduce the problem on macOS.
[-]Servo Commit 94152523 does not display Myanmar text properly[/-][+]Myanmar text doesn't display properly on Ubuntu[/+]jdm commentedon May 11, 2020
Since the page doesn't include any CSS fonts, this looks like a default font fallback issue on Linux.
jdm commentedon May 11, 2020
The only fallback missing from
servo/components/gfx/platform/freetype/font_list.rs
Lines 154 to 163 in 252197b
atouchet commentedon May 11, 2020
I am also not able to reproduce the issue in Windows 10:
talnetd commentedon May 11, 2020
So this is solved?
jdm commentedon May 11, 2020
No, it still reproduces on Ubuntu.
talnetd commentedon May 12, 2020
Will try to reproduce with latest ubuntu LTS version.
veer66 commentedon Nov 30, 2020
OS: Ubuntu 20.04.1 LTS x86_64
Kernel: 5.4.0-54-generic
Servo 0.0.1-6f6f8488d
Firefox
veer66 commentedon Feb 10, 2021
Servo 0.0.1-4a52c94cc
OS: Fedora 33 (KDE Plasma) x86_64
veer66 commentedon Jan 17, 2023
Servo 0.0.1-806db676b on openSUSE Leap 15.4 x86_64
veer66 commentedon Jan 17, 2023
This is the HTML for testing.
veer66 commentedon Sep 12, 2023
Servo 0.0.1-9b1247b20 on openSUSE LEAP 15.5 X86-64
The window was empty. Even boxes have gone.
veer66 commentedon Sep 15, 2023
Servo 0.0.1-c78533c1a on MX Linux 23 KDE
The boxes are back.
mrobinson commentedon Sep 15, 2023
I'm fairly sure this is now a duplicate of #25883.
mrobinson commentedon May 16, 2024
The following HTML seems to render properly on Linux, so I suspect that the issue here is really that we don't have the right fonts in the fallback list. This should be fixed fairly soon.
veer66 commentedon May 18, 2024
When I was reporting this issue in 2016, I thought somewhat similar to what you mentioned. I even made a similar experiment using Noto Sans Myanmar. Perhaps I've overlooked something.
fonts: Improve font fallback
fonts: Improve font fallback
fonts: Improve font fallback
fonts: Improve font fallback
fonts: Improve font fallback
fonts: Improve font fallback
fonts: Improve font fallback (#32286)