Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3f6623ac08a6f3ca350268081194144681243acf
https://github.com/WebKit/WebKit/commit/3f6623ac08a6f3ca350268081194144681243acf
Author: Vitor Roriz <[email protected]>
Date: 2026-03-27 (Fri, 27 Mar 2026)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp
M Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp
M Source/WebCore/platform/graphics/Font.h
M Source/WebCore/platform/graphics/FontCascade.cpp
M Source/WebCore/platform/graphics/FontCascade.h
M Source/WebCore/platform/graphics/FontCascadeFonts.cpp
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/platform/graphics/skia/FontCascadeSkia.cpp
M Source/WebCore/rendering/RenderText.cpp
Log Message:
-----------
Convert FontVariant to enum class
https://bugs.webkit.org/show_bug.cgi?id=310937
rdar://173550363
Reviewed by Simon Fraser.
* Source/WebCore/platform/graphics/Font.h:
* Source/WebCore/platform/graphics/FontCascade.h:
* Source/WebCore/platform/graphics/FontCascade.cpp:
(WebCore::FontCascade::glyphDataForCharacter):
(WebCore::FontCascade::canUseSimplifiedTextMeasuring):
(WebCore::FontCascade::getEmphasisMarkGlyphData):
(WebCore::FontCascade::getGlyphDataForBaseCharacter):
* Source/WebCore/platform/graphics/FontCascadeFonts.cpp:
(WebCore::FontCascadeFonts::glyphDataForSystemFallback):
(WebCore::FontCascadeFonts::glyphDataForVariant):
(WebCore::FontCascadeFonts::glyphDataForCharacter):
* Source/WebCore/platform/graphics/WidthIterator.cpp:
(WebCore::WidthIterator::advanceInternal):
* Source/WebCore/platform/graphics/coretext/FontCascadeCoreText.cpp:
(WebCore::FontCascade::getGlyphDataForBaseCharacter):
* Source/WebCore/platform/graphics/skia/FontCascadeSkia.cpp:
(WebCore::FontCascade::getGlyphDataForBaseCharacter):
* Source/WebCore/platform/graphics/cairo/FontCairoHarfbuzzNG.cpp:
(WebCore::FontCascade::getGlyphDataForBaseCharacter):
* Source/WebCore/rendering/RenderText.cpp:
(WebCore::RenderText::computeCanUseSimplifiedTextMeasuring):
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp:
(WebCore::Layout::TextUtil::canUseSimplifiedTextMeasuring):
* Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp:
(WebCore::Layout::TreeBuilder::canUseSimplifiedTextMeasuring):
Canonical link: https://commits.webkit.org/310124@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications