[webkit-changes] [WebKit/WebKit] e301be: [IFC][SVG text] Use iterator in SVGTextQuery
Antti Koivisto
noreply at github.com
Mon Dec 9 06:39:13 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e301beb9ed820ee0eef0747aa79303b93b1807a4
https://github.com/WebKit/WebKit/commit/e301beb9ed820ee0eef0747aa79303b93b1807a4
Author: Antti Koivisto <antti at apple.com>
Date: 2024-12-09 (Mon, 09 Dec 2024)
Changed paths:
M Source/WebCore/rendering/svg/SVGTextMetrics.cpp
M Source/WebCore/rendering/svg/SVGTextMetrics.h
M Source/WebCore/rendering/svg/SVGTextQuery.cpp
M Source/WebCore/rendering/svg/SVGTextQuery.h
Log Message:
-----------
[IFC][SVG text] Use iterator in SVGTextQuery
https://bugs.webkit.org/show_bug.cgi?id=284282
rdar://141144163
Reviewed by Alan Baradlay.
This type implements some SVG API text measuring functions.
* Source/WebCore/rendering/svg/SVGTextMetrics.cpp:
(WebCore::SVGTextMetrics::SVGTextMetrics):
(WebCore::SVGTextMetrics::constructTextRun):
(WebCore::SVGTextMetrics::measureCharacterRange):
* Source/WebCore/rendering/svg/SVGTextMetrics.h:
* Source/WebCore/rendering/svg/SVGTextQuery.cpp:
(WebCore::inlineBoxForRenderer):
(WebCore::SVGTextQuery::SVGTextQuery):
(WebCore::SVGTextQuery::collectTextBoxesInInlineBox):
(WebCore::SVGTextQuery::mapStartEndPositionsIntoFragmentCoordinates const):
(WebCore::SVGTextQuery::modifyStartEndPositionsRespectingLigatures const):
(WebCore::SVGTextQuery::Data::Data): Deleted.
(WebCore::flowBoxForRenderer): Deleted.
(WebCore::SVGTextQuery::collectTextBoxesInFlowBox): Deleted.
* Source/WebCore/rendering/svg/SVGTextQuery.h:
Canonical link: https://commits.webkit.org/287545@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list