WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
216023
RenderText::computeCanUseSimplifiedTextMeasuring() seems bogus
https://bugs.webkit.org/show_bug.cgi?id=216023
Summary
RenderText::computeCanUseSimplifiedTextMeasuring() seems bogus
Myles C. Maxfield
Reported
2020-08-31 19:26:28 PDT
RenderText::computeCanUseSimplifiedTextMeasuring() has: TextRun run(m_text); run.setCharacterScanForCodePath(false); if (font.codePath(run) != FontCascade::Simple) return false; and FontCascade::codePath() has: if (!run.characterScanForCodePath()) return Simple; and bool characterScanForCodePath() const { return m_characterScanForCodePath; } this code sure looks like: 1. Explicitly set m_characterScanForCodePath to false 2. If m_characterScanForCodePath is false, use the simple text codepath
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-09-07 19:27:12 PDT
<
rdar://problem/68482100
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug