[macOS 11] Variable fonts are broken
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox82 | --- | unaffected |
firefox83 | --- | fixed |
People
(Reporter: mstange, Assigned: jrmuizel)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(3 files, 1 obsolete file)
On Big Sur, the latest Nightly has changed the way system fonts look in some places, for example the tab text, the url bar text, or the text on github.
Reporter | ||
Comment 1•5 years ago
|
||
Reporter | ||
Comment 2•5 years ago
|
||
The starkest difference is in the percentage glyph, see the last line of the github comment.
These San Francisco fonts come in multiple variants, and some APIs choose the variant based on the font size. I think what's happening is that the content process has chosen a different variant for the text layout than WebRender chose for the glyph rendering.
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Reporter | ||
Comment 3•5 years ago
|
||
It seems the patch also broke font variations:
- The horse is no longer running: https://www.axis-praxis.org/playground/horse/
- Dragging the slider on https://v-fonts.com/ doesn't do anything.
Assignee | ||
Comment 4•5 years ago
|
||
Reporter | ||
Comment 5•5 years ago
|
||
It seems that, starting with Big Sur, CTFontDescriptorCreateCopyWithAttributes
(and similar functions) no longer accepts axis names as the attribute dictionary
keys. Instead, the dictionary keys need to be CFNumbers of the axis tag.
![]() |
||
Comment 7•5 years ago
|
||
Backed out changeset 431f3b75086b (bug 1671660) for Build bustage. CLOSED TREE
Logs:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=318901507&repo=autoland&lineNumber=45688
https://treeherder.mozilla.org/logviewer.html#?job_id=318901546&repo=autoland
https://treeherder.mozilla.org/logviewer.html#?job_id=318901527&repo=autoland
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&revision=431f3b75086b61509dc3fa6a892c81c23e402074
Backout:
https://hg.mozilla.org/integration/autoland/rev/8186e7bcab0cef9264b8c68b7ed5831fbe9fd97a
Reporter | ||
Comment 8•5 years ago
|
||
Sorry, missed that "unused variable" compiler warning when I built locally.
![]() |
||
Comment 10•5 years ago
|
||
bugherder |
Reporter | ||
Updated•5 years ago
|
Updated•4 years ago
|
Description
•