servo/tests/wpt/meta/css/CSS2/bidi-text
Martin Robinson f949d2adc8
fonts: Remove the per-FontGroup cached fallback font (#35705)
Instead of keeping a per-FontGroup cache of the previously used fallback
font, cache this value in the caller of `FontGroup::find_by_codepoint`.
The problem with caching this value in the `FontGroup` is that it can
make one layout different from the next.

Still, it is important to cache the value somewhere so that, for
instance, Chinese character don't have to continuously walk through the
entire fallback list when laying out. The heuristic here is to try to
last used font first if the `Script`s match. At the very least this
should make one layout consistent with the next.

Fixes #35704.
Fixes #35697.
Fixes #35689.
Fixes #35679.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-02-28 14:33:21 +00:00
..
bidi-003.xht.ini
bidi-004.xht.ini
bidi-005a.xht.ini
bidi-005b.xht.ini
bidi-006a.xht.ini
bidi-006b.xht.ini
bidi-007a.xht.ini
bidi-007b.xht.ini
bidi-008a.xht.ini
bidi-008b.xht.ini
bidi-009a.xht.ini
bidi-009b.xht.ini
bidi-010a.xht.ini
bidi-010b.xht.ini
bidi-011.xht.ini
bidi-box-model-003.xht.ini
bidi-box-model-009.xht.ini
bidi-box-model-013.xht.ini
bidi-box-model-022.xht.ini
bidi-box-model-031.xht.ini
bidi-box-model-040.xht.ini
bidi-breaking-001.xht.ini fonts: Remove the per-FontGroup cached fallback font (#35705) 2025-02-28 14:33:21 +00:00
bidi-breaking-002.xht.ini fonts: Remove the per-FontGroup cached fallback font (#35705) 2025-02-28 14:33:21 +00:00
bidi-breaking-003.xht.ini
bidi-glyph-mirroring-001.xht.ini
line-breaking-bidi-003.xht.ini layout: Add initial support for bidirectional text (BiDi) (#33148) 2024-08-21 14:28:54 +00:00
unicode-bidi-003.xht.ini
unicode-bidi-004.xht.ini
unicode-bidi-applies-to-007.xht.ini
unicode-bidi-applies-to-009.xht.ini
unicode-bidi-applies-to-012.xht.ini
unicode-bidi-applies-to-015.xht.ini