Reader view font type controls (Sans/Serif) do not follow Firefox settings
Categories
(Toolkit :: Reader Mode, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox134 | --- | fixed |
People
(Reporter: espadrine, Assigned: smaginsergey1310, NeedInfo)
References
Details
Attachments
(1 file, 1 obsolete file)
Reproductible steps:
- Go to about:preferences, search for "font", click on "advanced".
- Set the Sans Serif font to Atkinson Hyperlegible, click OK.
- Go to https://espadrine.github.io/blog/posts/mean-range-of-bell-curve-distributions.html
- Click on the Reader View button at the right of the address bar.
- On the left, click "Type controls", and select Sans-serif.
- Right-click on the text of the article; click "inspect"; click "Fonts".
What occurs:
The font “Nimbus Sans” is indicated as in use by Reader View.
What should occur:
The font Atkinson Hyperlegible should be indicated as in use.
Additional system information:
- OS: KDE Neon 5.27 Ubuntu 22.04
- Both Atkinson Hyperlegible and Nimbus Sans are installed.
- CPU: Intel(R) Core(TM) i5-8350U CPU
| Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 1•2 years ago
|
||
I worked around this problem by adding the following rules to chrome/userContent.css under the profile directory (which requires toolkit.legacyUserProfileCustomizations.stylesheets set to 1). Tested on Firefox 117.0.
.serif .moz-reader-content {
font-family: serif;
}
.sans-serif .moz-reader-content {
font-family: sans-serif;
}
| Assignee | ||
Comment 2•1 year ago
|
||
Use serif, sans-serif and monospace instead of, respectively,
Georgia, "Times New Roman", serif
Helvetica, Arial, sans-serif
"Courier New", Courier, monospace
This allows browser to actually use fonts set in the font settings.
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
Use serif, sans-serif and monospace instead of, respectively,
Georgia, "Times New Roman", serif
Helvetica, Arial, sans-serif
"Courier New", Courier, monospace
This allows browser to actually use fonts set in the font settings.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 5•1 year ago
|
||
Backed out for causing bc failures @ browser_readerMode_textLayoutPref.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/2d56061eb886ad6c984764932d011258fb6e8ba3
Comment 7•1 year ago
|
||
Backed out for causing bc failures @ browser_readerMode_textLayoutPref.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/b74bc552f04618071d20df9e058932960271ceb6
Comment 9•1 year ago
|
||
| bugherder | ||
Comment 10•8 months ago
|
||
This bug has unfortunately not been fixed for the Firefox 128.n ESR series.
Description
•