diff options
author | bors-servo <servo-ops@mozilla.com> | 2020-08-10 15:00:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-10 15:00:00 -0400 |
commit | 3c426d707859091cae24a32db6575609c42fa646 (patch) | |
tree | 0bec84504b77fd26a5299c51d0c2257f3f0722c2 /components/script/dom/htmliframeelement.rs | |
parent | 3cd6b71e6bff0f19055a71faaea4c66239e30c7d (diff) | |
parent | 1e743a7ed6a249624b5e87609747021a8844adee (diff) | |
download | servo-3c426d707859091cae24a32db6575609c42fa646.tar.gz servo-3c426d707859091cae24a32db6575609c42fa646.zip |
Auto merge of #27548 - jdm:canvas-text-panic, r=pcwalton
Canvas text and macOS font fixes
These changes work around a source of panics by skipping glyphs that don't exist when drawing text to the canvas. Ideally we would have font fallback and/or tofu characters, but that's a larger project than I wanted to get into right now.
Relatedly, while investigating the non-panic errors observed in #27476, I realized that the underlying source of #24622 could be dealt with because we shouldn't actually need to open the CTFont by a file path to get the bytes, since we already have bytes available that we use to create the CTFont.
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24622 and fix #27476 and fix the panic observed in #20445.
- [x] There are tests for these changes
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
0 files changed, 0 insertions, 0 deletions