Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 795ce44a90d3d2af7e53dfcce6ccfbc2c62cf84d
https://github.com/WebKit/WebKit/commit/795ce44a90d3d2af7e53dfcce6ccfbc2c62cf84d
Author: Vitor Roriz <[email protected]>
Date: 2026-05-28 (Thu, 28 May 2026)
Changed paths:
M Source/WebCore/platform/graphics/FontCascade.cpp
Log Message:
-----------
REGRESSION(312179@main):
imported/w3c/web-platform-tests/mathml/presentation-markup/operators/character-level-mirroring.html
is a constant TEXT failure
rdar://177386201
Reviewed by Alan Baradlay and Zak Ridouh.
https://commits.webkit.org/312179@main made
FontCascade::glyphDataForCharacter's mirror a no-op
when HAVE(CORE_TEXT_BIDI_MIRRORING) is enabled, on the assumption that all
callers eventually pass
through CTFontShapeGlyphs which would mirror at shape time. However, that's not
always true. For
example, MathML's MathOperator violates that assumption: it calls
glyphDataForCharacter with
mirror=true and then paints the resulting glyph directly via
GraphicsContext::drawGlyphs, never
invoking the CoreText shaper.
* Source/WebCore/platform/graphics/FontCascade.cpp:
(WebCore::FontCascade::glyphDataForCharacter):
Canonical link: https://commits.webkit.org/314025@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications