Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e301beb9ed820ee0eef0747aa79303b93b1807a4
https://github.com/WebKit/WebKit/commit/e301beb9ed820ee0eef0747aa79303b93b1807a4
Author: Antti Koivisto <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes