Tofu boxes are shown for some of the Cyrillic group languages if font visibility is set to 1 or 2
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: sbadau, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fpp:m6])
Attachments
(2 files)
Found in
- Nighty 115.0a1
Affected versions
- Nightly 115.0a1
Tested platforms
- Affected platforms: macOS 12 ,Ubuntu 20.04 x64, and Windows 10.
Preconditions
- in about:config, set the preference "layout.css.font-visibility.private" to 1.
Steps to reproduce
- Open a private window.
- Navigate to Wikipedia and look for the following Cyrillic languages: cyrillic extended-b, cyrillic extended-c, cyrillic supplement, glagolitic.
- Observe the fonts.
Expected result
- The fonts should be properly displayed in Private Browsing.
Actual result
During private browsing, the following languages are displaying tofu boxes:
- cyrillic extended-b and cyrillic supplement on Ubuntu 20.04.
- cyrillic extended-c on Windows 10.
- glagolitic on macOS 12.
Regression range
This is not a regression, the font visibility preference is set to 3 on all previous versions: ESR, Beta, and Release.
Additional notes
- The tofu boxes are also displayed in private browsing when the preference "layout.css.font-visibility.private" is set to 2.
- The tofu boxes are not displayed in normal browsing or when "layout.css.font-visibility.private" is set to 3.
Comment 1•2 years ago
|
||
instead of loading 100+ individual wikipedia pages for testing, I specifically built https://arkenfox.github.io/TZP/tests/fontscripts.html for font vis to check for script breakage/support - default is just to check the first 20 chars per script which should be good enough (or you can just check all) - click run, it will color code the tofu, it will provide a summary. There are 129 scripts listed there, if any are missing, let me know and I can add them
| Reporter | ||
Comment 2•2 years ago
|
||
(In reply to Simon Mainey from comment #1)
instead of loading 100+ individual wikipedia pages for testing, I specifically built https://arkenfox.github.io/TZP/tests/fontscripts.html for font vis to check for script breakage/support - default is just to check the first 20 chars per script which should be good enough (or you can just check
all) - clickrun, it will color code the tofu, it will provide a summary. There are 129 scripts listed there, if any are missing, let me know and I can add them
very useful, Thank you!
Updated•2 years ago
|
Updated•2 years ago
|
| Reporter | ||
Comment 3•2 years ago
|
||
Rechecked again using the latest Nightly 116.0a1, and:
- I can no longer see the tofu boxes on macOS 13 while navigating in Private Browsing.
- On Windows 10 - not an issue as the cyrillic extended-c characters are displayed as tofu boxes not only in private browsing, but also on normal browsing + on other browsers (like Chrome).
- On Ubuntu 22.04 -I see no issues on the cyrillic extended-b and cyrillic supplement characters but noticed that the issue is reproducing with the glagolitic font.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
.mw-parser-output .script-Cyrs{font-family:"Ponomar Unicode","Ponomar Unicode TT","Acathist","Triodion Unicode","Menaion Unicode","Menaion Unicode TT","Shafarik","Fedorovsk Unicode","Fedorovsk Unicode TT","Monomakh Unicode","Monomakh Unicode TT","Vilnius",BukyVede,"Kliment Std","RomanCyrillic Std","Monomachus","Old Standard","Old Standard TT",Dilyana,Menaion,"Menaion Medieval",Lazov,Code2000,"DejaVu Sans","DejaVu Serif",Code2001,"FreeSerif","TITUS Cyberbit Basic","Charis SIL","Doulos SIL","Chrysanthi Unicode","Bitstream Cyberbit","Bitstream CyberBase",Thryomanes,"Lucida Grande","FreeSans","Arial Unicode MS","Microsoft Sans Serif","Lucida Sans Unicode"}.mw-parser-output .script-Glag{font-family:Shafarik,"Menaion Unicode TT","Menaion Unicode",Vikidemia,Bukyvede,FreeSerif,Ja,Unicode5,"TITUS Cyberbit Basic","Noto Sans Glagolitic","Segoe UI Historic","Segoe UI Symbol"}
Appears as Tofu for me in Ubuntu 22.04 in regular and PBM. I'm guessing that Noto Sans Glagolitic (which is a langpack font) is installed locally. Just to confirm, Simona could you check 22.04 and confirm that it reproduces with font-visibility.private set to 1 but not when it is set to 2?
| Reporter | ||
Comment 5•2 years ago
•
|
||
(In reply to Tom Ritter [:tjr] from comment #4)
Appears as Tofu for me in Ubuntu 22.04 in regular and PBM. I'm guessing that
Noto Sans Glagolitic(which is a langpack font) is installed locally. Just to confirm, Simona could you check 22.04 and confirm that it reproduces with font-visibility.private set to1but not when it is set to2?
Checked on my Ubuntu 22.04 machine, and indeed, "Noto Sans Glagolitic" language font is installed locally.
I can confirm that it reproduces with layout.css.font-visibility.private set to 1 and it's not reproducible when the preference is set to 2. Please see the comparison screenshot.
Comment 6•2 years ago
|
||
Okay thanks, the font update commits fixed the first few issues and this one is working as intended.
Description
•