[Webkit-unassigned] [Bug 216023] New: RenderText::computeCanUseSimplifiedTextMeasuring() seems bogus
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 31 19:26:28 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=216023
Bug ID: 216023
Summary: RenderText::computeCanUseSimplifiedTextMeasuring()
seems bogus
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mmaxfield at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
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
--
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/20200901/3e050e7f/attachment.htm>
More information about the webkit-unassigned
mailing list