RESOLVED FIXED227385
[macOS] -[NSString _web_widthWithFont:] returns 0
https://bugs.webkit.org/show_bug.cgi?id=227385
Summary [macOS] -[NSString _web_widthWithFont:] returns 0
Myles C. Maxfield
Reported 2021-06-24 23:04:38 PDT
[macOS] -[NSString _web_widthWithFont:] returns 0 for Thai text
Attachments
Test (6.50 KB, patch)
2021-06-24 23:05 PDT, Myles C. Maxfield
no flags
Patch (8.57 KB, patch)
2021-06-24 23:39 PDT, Myles C. Maxfield
no flags
Patch (8.56 KB, patch)
2021-06-24 23:40 PDT, Myles C. Maxfield
no flags
Patch (9.92 KB, patch)
2021-06-25 12:23 PDT, Myles C. Maxfield
no flags
Patch (9.93 KB, patch)
2021-06-25 16:01 PDT, Myles C. Maxfield
simon.fraser: review+
Patch for committing (9.93 KB, patch)
2021-06-25 16:25 PDT, Myles C. Maxfield
no flags
Patch for committing (9.92 KB, patch)
2021-06-25 16:26 PDT, Myles C. Maxfield
no flags
Myles C. Maxfield
Comment 1 2021-06-24 23:05:10 PDT
Myles C. Maxfield
Comment 2 2021-06-24 23:05:46 PDT
Myles C. Maxfield
Comment 3 2021-06-24 23:05:49 PDT
Myles C. Maxfield
Comment 4 2021-06-24 23:39:33 PDT
Myles C. Maxfield
Comment 5 2021-06-24 23:40:38 PDT
Myles C. Maxfield
Comment 6 2021-06-25 12:23:50 PDT
Myles C. Maxfield
Comment 7 2021-06-25 16:01:22 PDT
Simon Fraser (smfr)
Comment 8 2021-06-25 16:20:05 PDT
Comment on attachment 432303 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=432303&action=review > Tools/TestWebKitAPI/Tests/mac/StringWidth.mm:38 > + EXPECT_GE(result, 3); 3 seems a little small?
Myles C. Maxfield
Comment 9 2021-06-25 16:25:17 PDT
Created attachment 432308 [details] Patch for committing
Myles C. Maxfield
Comment 10 2021-06-25 16:26:49 PDT
Created attachment 432309 [details] Patch for committing
EWS
Comment 11 2021-06-25 17:09:24 PDT
Committed r279301 (239177@main): <https://commits.webkit.org/239177@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432309 [details].
Note You need to log in before you can comment on or make changes to this bug.