Writing system font display corrupted on macOS when reading installed Noto fonts
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: ishida, Unassigned)
Details
Attachments
(1 file)
|
269.80 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/119.0
Steps to reproduce:
Try viewing the samples at https://r12a.github.io/scripts/samples/index.html with the appropriate Noto fonts installed. Adlam is a good example; see the attached screen grab. The problem occurs with many of the less common scripts, eg. Adlam, Avestan, Bamum, Cham, Cuneiform, etc. etc.
Actual results:
The fonts don't display correctly when reading the font from the macOS system (i haven't tried Firefox on Windows). Chrome & Safari are fine, it's just Firefox. Webfonts seem to be working.
The wrong characters are shown for the code points used, and the positioning of characters is very bad (overlapping and gapping). The text is unreadable.
This is becoming sufficiently problematic that i've been using Chrome rather than Firefox recently, and thought of switching.
Expected results:
View the samples on Chrome and Safari and things should look as expected.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Cocoa' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Try viewing the samples at https://r12a.github.io/scripts/samples/index.html with the appropriate Noto fonts installed
Have you manually installed these fonts in your own ~/Library/Fonts directory? If so, I suspect they may be conflicting with the versions that are present in the standard macOS install (under /System/Library/Fonts/Supplementary) on current systems.
The examples you mention look OK for me (relying on the system's installed fonts).
I suspect (assuming you have locally-installed copies) this may be an example of bug 1803406.
| Reporter | ||
Comment 3•2 years ago
|
||
I did indeed install the latest versions of all Noto fonts, using the normal installation process, so the latest version of the Adlam font, for example, did indeed end up in my ~/Library/Fonts directory. There is also an un-deletable version of the Noto Sans Adlam font in /System/Library/Fonts/Supplemental, although it doesn't show up in the Font Book app (whereas one or two others do appear alongside the newly installed font, though they seem to work).
So the question is perhaps to ask why Firefox is ignoring my newly installed version of the font and using the system font, and why it's going further and producing this awful type salad. Chrome & Safari don't seem to get hung up on that. It could indeed be an example of bug 1803406. It seems like that isn't resolving easily.
In the meantime, some of the changes introduced in Noto fonts recently have important changes (such as full Latin support) that i really want to apply to my text...
Comment 4•2 years ago
|
||
The severity field is not set for this bug.
:TYLin, could you have a look please?
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 5•2 years ago
|
||
The severity field is not set for this bug.
In my case, it's causing me to have to use Chrome for most of my work these days, which is a shame (and inconvenient, because i have so far resisted the temptation to make things easier by changing my default browser to Chrome). I imagine that the same applies for people using the quite-a-few scripts for which this blocks the use of newer versions of Noto Fonts - and note that for many of the long tail scripts Noto is a key enabler for writing their language. (And some not so long-tail, such as Adlam, or nastaliq which is used for Urdu & Kashmiri, besides others).
hth
Comment 6•2 years ago
|
||
Does latest nightly work for you now? Bug 1803406 was fixed shortly after filing this bug.
| Reporter | ||
Comment 7•2 years ago
|
||
Emilio, i just installed Nightly and tested a bunch of scripts, and they all look great now. Many thanks !
Updated•2 years ago
|
Updated•2 years ago
|
Comment 9•2 years ago
|
||
Richard, would you mind re-testing this with the latest Nightly version on macOS, please? (Dated 2023-12-06 or later in the About window.) The fix from bug 1803406 has just been replaced with an alternative approach (due to a number of issues with the original); in my local testing, it still seems to be working fine for cases like this, but it would be great to have additional confirmation. Thanks!
| Reporter | ||
Comment 10•2 years ago
|
||
Jonathan, i just ran through the script samples at https://r12a.github.io/scripts/samples/ using Firefox 120.0.1 and found the following samples that were clearly garbled:
adlam avestan bamum bhaiksuki brahmi buginese buhid cham chakma cuneiform egyptian_hieroglyphs gothic hanifi_rohingya hatran kaithi kayah_li linear_a mandaic marchen meetei_mayek mongolian mro nabataean new_tai_lue ol_chiki old_north_arabian old_persian old_south_arabian phoenician sora_sompeng sundanese syriac tai_viet takri thaana tifinagh ugaritic wancho yezidi
I checked each of these with Nightly 122.0a1 and all looked fine.
There were 3-4 other scripts where the line-breaking didn't work properly in Firefox, but did look ok in Nightly.
So i think we're good.
Description
•