Summary: | [Win] infinite loop in ComplexTextController::indexOfCurrentRun | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||||
Component: | Text | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | mmaxfield | ||||||
Priority: | P2 | ||||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=108877 | ||||||||
Bug Depends on: | 212944 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Fujii Hironori
2020-06-02 16:51:04 PDT
Created attachment 400867 [details]
simplified content
Created attachment 400888 [details]
reduced content
Bug 108877 – Chromium: Hang parsing bidi control chars on Mac OS X 10.6 It's a very similar issue. This bug is caused by the following reasons: 1. Windows FontCache::systemFallbackForCharacters returns "Arial Unicode MS" font for some Tibetan characters, but it should be "Microsoft Himalaya". Bug 212688 – [Win] Some Tibetan characters aren't shown 2. ComplexTextControllerUniscribe simply ignores the complex text run if ScriptShape fails with USP_E_SCRIPT_NOT_IN_FONT Bug 212947 – [Win] ComplexTextControllerUniscribe: Retry ScriptShape with SCRIPT_UNDEFINED if it failed as USP_E_SCRIPT_NOT_IN_FONT 3. ComplexTextController::indexOfCurrentRun assumes the complex text runs are consecutive Bug 212944 – ComplexTextController: Use std::sort to calculate m_runIndices Fixed in r262804 and r262803. |