[webkit-changes] [WebKit/WebKit] 8b7f6c: FontCascade::glyphDataForCharacter is a somewhat e...
Alan Baradlay
noreply at github.com
Mon Nov 20 07:16:53 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8b7f6c1f1080a06eb7e15d4c18f0c10a249b7e14
https://github.com/WebKit/WebKit/commit/8b7f6c1f1080a06eb7e15d4c18f0c10a249b7e14
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-11-20 (Mon, 20 Nov 2023)
Changed paths:
M Source/WebCore/rendering/RenderText.cpp
Log Message:
-----------
FontCascade::glyphDataForCharacter is a somewhat expensive call
https://bugs.webkit.org/show_bug.cgi?id=265119
Reviewed by Antti Koivisto.
Let's not call it on every repeating character in a text renderer.
* Source/WebCore/rendering/RenderText.cpp:
(WebCore::initiateFontLoadingByAccessingGlyphDataIfApplicable):
Canonical link: https://commits.webkit.org/270976@main
More information about the webkit-changes
mailing list