Bug 231988

Summary: -apple-system font crashes safari when applied to an emoji in a canvas element
Product: WebKit Reporter: Levin Dixon <levindixon>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: ap, dino
Priority: P2    
Version: Safari 15   
Hardware: Mac (Intel)   
OS: macOS 11   

Levin Dixon
Reported 2021-10-19 15:02:38 PDT
This example causes the tab to crash: <!DOCTYPE html> <html> <body> <canvas id="myCanvas" width="200" height="100"></canvas> <script> var canvas = document.getElementById("myCanvas"); var ctx = canvas.getContext("2d"); ctx.font = "30px -apple-system"; ctx.fillText("⚪ Grey - On hold",10,50); </script> </body> </html>
Attachments
Alexey Proskuryakov
Comment 1 2021-10-19 17:47:37 PDT
*** This bug has been marked as a duplicate of bug 230187 ***
Note You need to log in before you can comment on or make changes to this bug.