Files
Martin Robinson e0e3f9f6eb Bug 2043065 [wpt PR 60200] - font: Properly handle when shaping produces no glyphs, a=testonly
Automatic update from web-platform-tests
font: Properly handle when shaping produces no glyphs

When shaping produces no glyphs, which can happen when a zero-width
space is shaped for a font that has no space or zero-width space glyph,
just return an empty `ShapedText` instead of trying to process any
glyphs. This prevents logic issues due to the rest of the code assuming
there are glyphs.

Signed-off-by: Martin Robinson <[email protected]>

--

wpt-commits: 29d68481be3a91230201a37951bd5c94724f59b3
wpt-pr: 60200
2026-06-11 08:49:23 +00:00
..
…
…
…