Closed Bug 1835271 Opened 2 years ago Closed 2 years ago

Treat the collection of Noto fonts from the Supplemental directory as standard on macOS

Categories

(Core :: Layout: Text and Fonts, enhancement)

Unspecified
macOS
enhancement

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

As noted in the reports linked from bug 1827475, restricting font visibility on macOS impacts a number of lesser-used or archaic languages.

To mitigate this, I think we should include the extensive collection of Noto fonts found in the /System/Library/Fonts/Supplemental directory as part of the "standard" set that are always visible to CSS. These fonts are not normally exposed in the UI (e.g. Fonts menu or panel) of Cocoa-based applications, as they're considered "document-based app" fonts according to https://developer.apple.com/fonts/system-fonts/.

However, in Gecko we fully "activate" all the fonts from this directory at startup, so that the language support will be available, and therefore we should treat them as part of the base system font collection.

(There are a variety of other fonts besides Noto in the Supplemental directory as well, which we also activate at startup; however, I'm inclined not to add all of them to the base set as the exact collection evolves from one OS release to another, and therefore will provide some increased version-fingerprinting potential. Adding only the Noto fonts will address the language-support issue while being more stable than including all the other "supplemental" typefaces as well.)

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Blocks: 1827475
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d7fd67c7c85e Treat the collection of Noto fonts from the Supplemental directory as standard on macOS, as we activate them all at startup. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
See Also: → 1836535
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: