Add preferences to override system fonts
Categories
(Core :: Widget, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
Details
Attachments
(3 files)
Much like we have preferences to override ints / floats / colors here, it seems having prefs for fonts would be useful (if only for testing without having to change system settings).
Assignee | ||
Comment 1•1 year ago
|
||
And hide internal but used values. System fonts are not exposed in the
computed style so this should be fine.
If we need the old values for some obscure reason, it's trivial to alias
them to e.g., menu or so.
Assignee | ||
Comment 2•1 year ago
|
||
Now that the non-native theme is everywhere, let's do this consistently
across platforms.
Note that these fonts aren't used for XUL anyways, so this shouldn't
change behavior in practice.
Depends on D163269
Assignee | ||
Comment 3•1 year ago
|
||
Much like we allow to do so with colors and ints/floats.
Read a string pref for the font name, and a few float/bools for
size/weight/italic, which is what our LookAndFeel back-end supports.
Depends on D163270
Assignee | ||
Updated•1 year ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ffe8d999e454 Remove non-standard and unused system font values. r=jfkthame https://hg.mozilla.org/integration/autoland/rev/60822417a838 Remove windows-specific condition for system font font-size adjustment. r=jfkthame https://hg.mozilla.org/integration/autoland/rev/649c190f6c29 Allow to specify system fonts via prefs. r=jfkthame
Comment 5•1 year ago
|
||
Backed out 3 changesets (Bug 1802957) for causing mochitest failures on test_unstyled_control_height.html.
Backout link
Push with failures <--> 3
Failure Log
Assignee | ||
Updated•1 year ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f331a560b37c Remove non-standard and unused system font values. r=jfkthame https://hg.mozilla.org/integration/autoland/rev/5fd98b1efb0a Remove windows-specific condition for system font font-size adjustment. r=jfkthame https://hg.mozilla.org/integration/autoland/rev/f1cdc72ea3d3 Allow to specify system fonts via prefs. r=jfkthame
Comment 7•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f331a560b37c
https://hg.mozilla.org/mozilla-central/rev/5fd98b1efb0a
https://hg.mozilla.org/mozilla-central/rev/f1cdc72ea3d3
Description
•