Repository navigation
Always include the last-resort font - #11303
Conversation
|
@bors-servo try |
Always include the last-resort font This is used as a fallback for any characters that don't have glyphs in the specified font. Without this, per-glyph font fallback doesn't work because the FontGroup always contains only one font. Fixes missing glyphs on many pages on my Linux box. As a follow-up, we should probably have a smarter strategy for finding fallback fonts, possibly varying by script. (Currently we just have a few hard-coded family names.) r? @glennw
|
This hopefully fixes (I believe currently disabled) #7625. |
|
💔 Test failed - mac-rel-css |
|
I think these were passing accidentally before; we are (and were) rendering them with fonts that don’t contain the required glyphs.
These all look like they’re affected by the same vertical positioning bug, like maybe an empty line was inserted where it shouldn’t be. Also, mac-rel-wpt: Looking at the reftest analyzer, the glyph fallback is working correctly but the line height is different in the test versus the reference; the patch must have changed which font metrics are being used. On the Linux builder there were even more affected tests:
All of these seem to be affected by the same line-height issue, except |
|
New code was committed to pull request. |
|
@bors-servo try |
Always include the last-resort font This is used as a fallback for any characters that don't have glyphs in the specified font. Without this, per-glyph font fallback doesn't work because the FontGroup always contains only one font. Fixes missing glyphs on many pages on my Linux box. As a follow-up, we should probably have a smarter strategy for finding fallback fonts, possibly varying by script. (Currently we just have a few hard-coded family names.) r? @glennw <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11303) <!-- Reviewable:end -->
|
💔 Test failed - mac-rel-css |
|
|
Also, mac-rel-wpt: and linux-rel-css: |
|
New code was committed to pull request. |
|
@bors-servo try
|
Always include the last-resort font This is used as a fallback for any characters that don't have glyphs in the specified font. Without this, per-glyph font fallback doesn't work because the FontGroup always contains only one font. Fixes missing glyphs on many pages on my Linux box. As a follow-up, we should probably have a smarter strategy for finding fallback fonts, possibly varying by script. (Currently we just have a few hard-coded family names.) r? @glennw <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11303) <!-- Reviewable:end -->
|
Looks like there are still thirteen |
|
@bors-servo r=pcwalton
|
|
📌 Commit 625b0b8 has been approved by |
Always include the last-resort font This is used as a fallback for any characters that don't have glyphs in the specified font. Without this, per-glyph font fallback doesn't work because the FontGroup always contains only one font. Fixes missing glyphs on many pages on my Linux box. As a follow-up, we should probably have a smarter strategy for finding fallback fonts, possibly varying by script. (Currently we just have a few hard-coded family names.) r? @glennw <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11303) <!-- Reviewable:end -->
|
💔 Test failed - mac-rel-wpt |
|
This is used as a fallback for any characters that don't have glyphs in the specified font.
|
New code was committed to pull request. |
|
@bors-servo r=pcwalton
|
|
📌 Commit e588943 has been approved by |
Always include the last-resort font This is used as a fallback for any characters that don't have glyphs in the specified font. Without this, per-glyph font fallback doesn't work because the FontGroup always contains only one font. Fixes missing glyphs on many pages on my Linux box. As a follow-up, we should probably have a smarter strategy for finding fallback fonts, possibly varying by script. (Currently we just have a few hard-coded family names.) r? @glennw <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11303) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows |
This is used as a fallback for any characters that don't have glyphs in the specified font. Without this, per-glyph font fallback doesn't work because the FontGroup always contains only one font. Fixes missing glyphs on many pages on my Linux box.
As a follow-up, we should probably have a smarter strategy for finding fallback fonts, possibly varying by script. (Currently we just have a few hard-coded family names.)
r? @glennw
This change is