Skip to content

font: keep every installed symbol family in the fallback chain, capped - #93

Merged
diiviocity merged 1 commit into
vlang:masterfrom
diiviocity:fix/font-render-fallbacks
Oct 21, 2026
Merged

diiviocity merged 1 commit into
vlang:masterfrom
diiviocity:fix/font-render-fallbacks

Conversation

@diiviocity

Copy link
Copy Markdown
Member

The installed slot stopped at the first family that resolved, so a machine with Noto Sans Symbols 2 spent it on a face that has no arrows: Noto Sans Symbols 2 does not cover U+2190-2193, and the shortcut labels drew glyph 0. Walk every family against the machine instead, up to font_symbol_path_limit of 5 faces, so the rebind load and the per-miss fallback walk stay bounded while the arrow-bearing families behind the dingbat-covered one still join the chain.

The installed slot stopped at the first family that resolved, so a machine
with Noto Sans Symbols 2 spent it on a face that has no arrows: Noto Sans
Symbols 2 does not cover U+2190-2193, and the shortcut labels drew glyph 0.
Walk every family against the machine instead, up to
font_symbol_path_limit of 5 faces, so the rebind load and the per-miss
fallback walk stay bounded while the arrow-bearing families behind the
dingbat-covered one still join the chain.
@diiviocity
diiviocity merged commit 62dca70 into vlang:master Oct 21, 2026
0 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant