[webkit-changes] [WebKit/WebKit] 7b5f8e: Use more smart pointers in GlyphData & GlyphPage
Chris Dumez
noreply at github.com
Tue Oct 31 10:46:14 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7b5f8e5c3b54623b2bda4b582c5a866aed2bd3d9
https://github.com/WebKit/WebKit/commit/7b5f8e5c3b54623b2bda4b582c5a866aed2bd3d9
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M Source/WebCore/platform/graphics/Font.h
M Source/WebCore/platform/graphics/FontCascade.cpp
M Source/WebCore/platform/graphics/FontCascadeFonts.cpp
M Source/WebCore/platform/graphics/FontCascadeFonts.h
M Source/WebCore/platform/graphics/FontRanges.cpp
M Source/WebCore/platform/graphics/GlyphPage.h
M Source/WebCore/platform/graphics/WidthIterator.cpp
M Source/WebCore/platform/graphics/cairo/FontCairoHarfbuzzNG.cpp
M Source/WebCore/platform/graphics/coretext/FontCascadeCoreText.cpp
M Source/WebCore/rendering/mathml/MathOperator.cpp
Log Message:
-----------
Use more smart pointers in GlyphData & GlyphPage
https://bugs.webkit.org/show_bug.cgi?id=263943
Reviewed by Ryosuke Niwa.
* Source/WebCore/platform/graphics/Font.h:
* Source/WebCore/platform/graphics/FontCascade.cpp:
(WebCore::FontCascade::emphasisMarkAscent const):
(WebCore::FontCascade::emphasisMarkDescent const):
(WebCore::FontCascade::fontForEmphasisMark const):
(WebCore::FontCascade::drawEmphasisMarks const):
(WebCore::FontCascade::fontForCombiningCharacterSequence const):
* Source/WebCore/platform/graphics/FontCascadeFonts.cpp:
(WebCore::MixedFontGlyphPage::glyphDataForCharacter const):
(WebCore::findBestFallbackFont):
* Source/WebCore/platform/graphics/FontCascadeFonts.h:
(WebCore::FontCascadeFonts::primaryFont):
* Source/WebCore/platform/graphics/FontRanges.cpp:
(WebCore::FontRanges::glyphDataForCharacter const):
(WebCore::FontRanges::fontForCharacter const):
* Source/WebCore/platform/graphics/GlyphPage.h:
(WebCore::GlyphPage::glyphDataForIndex const):
(WebCore::GlyphPage::font const):
* Source/WebCore/platform/graphics/WidthIterator.cpp:
(WebCore::WidthIterator::advanceInternal):
* Source/WebCore/platform/graphics/coretext/FontCascadeCoreText.cpp:
(WebCore::FontCascade::fontForCombiningCharacterSequence const):
* Source/WebCore/rendering/mathml/MathOperator.cpp:
(WebCore::MathOperator::calculateDisplayStyleLargeOperator):
(WebCore::MathOperator::calculateStretchyData):
Canonical link: https://commits.webkit.org/270013@main
More information about the webkit-changes
mailing list