[Webkit-unassigned] [Bug 231686] New: Browser crashes when drawing Japanese text on a canvas with some fonts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 13 10:55:55 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=231686

            Bug ID: 231686
           Summary: Browser crashes when drawing Japanese text on a canvas
                    with some fonts
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: Other
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mouad.debbar at gmail.com
                CC: dino at apple.com

## TL;DR

Repro: https://jsfiddle.net/9w2u1z7k/9/show

Simply load the repro link above on an iPhone iOS 15 Safari. The browser will crash.

Older versions of iOS work fine, so this is a regression in iOS 15.


## Details

When drawing Japanese or Chinese text on a canvas (e.g. "こんにちは世界" or "測試") with a font chain that includes "-apple-system", the browser crashes.

The problem disappears if the text is in English (e.g. "Hello World").
The problem also disappears if "-apple-system" is removed from the font family chain.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211013/f433dd42/attachment-0001.htm>


More information about the webkit-unassigned mailing list