Investigate the performance impact (if any) of using a non-system font for the browser UI.
Categories
(Firefox :: Theme, task)
Tracking
()
People
(Reporter: mconley, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [proton-foundations])
This bug will mainly focus on identifying any performance concerns with loading and using a non-system font for the browser UI.
Reporter | ||
Comment 1•5 years ago
|
||
Hey ckerschb,
It doesn't look like the about:home/about:newtab CSP allows me to load fonts from chrome:// URIs. I've tried adding font-src
to the CSP rules for that page, but no dice. Do you know if what I'm trying to do is even possible right now?
Reporter | ||
Comment 2•5 years ago
|
||
Here's a try build testing the Metropolis font across the board in the browser UI and in about:home. I'm using a pretty aggressive * {}
CSS rule and web fonts to pull this off, so this will hopefully give us an upper bound on any kinds of performance impacts here.
https://treeherder.mozilla.org/jobs?repo=try&revision=7f6538beac59865f8651c2ca57235f624102ae42
Base revision: https://treeherder.mozilla.org/jobs?repo=try&selectedTaskRun=J9C4z3v9SwWU0cVElOPQ3w.0&revision=7f6538beac59865f8651c2ca57235f624102ae42
Reporter | ||
Comment 3•5 years ago
|
||
I found a solution to loading the built-in font inside of in-content pages by modifying the channel building routine in FontPreloader. ckerschbaumer said it looks like the right idea in another communications channel, so clearing ni.
Updated•5 years ago
|
Reporter | ||
Comment 4•5 years ago
|
||
We have concluded that changing the default font in the main browser UI will have a number of negative performance impacts. We will not be doing this for now.
Updated•4 years ago
|
Description
•