Skip to content

Conversation

glebm
Copy link
Collaborator

@glebm glebm commented Sep 20, 2025

Previously, an override font had to contain all the 256 glyphs in the row that it was overriding. Experiments have shown that this would cause huge file increase in locale-specific (#3538) CJK fonts (+200MiB or so).

Instead, allows the override font to only override some glyphs in a row.

For all glyphs (sprites) that have width 0, we now fall back to the base font.

Previously, an override font had to contain all the 256 glyphs in the
row that it was overriding. Experiments have shown that this would
cause huge file increase in CJK scripts (+200MiB or so).

Instead, allows the override font to only override some glyphs in a row.

For all glyphs (sprites) that have width 0, we now fall back to
the base font.
@AJenbo AJenbo disabled auto-merge September 20, 2025 15:48
@AJenbo AJenbo merged commit f3a41bb into diasurgical:master Sep 20, 2025
23 of 28 checks passed
@glebm glebm deleted the font-fallback branch September 20, 2025 16:12
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.

2 participants