Skip to content

Fix/mixed fonts character measuring bug#1717

Merged
linusha merged 3 commits intomainfrom
fix/mixed-fonts-character-measuring-bug
Feb 20, 2025
Merged

Fix/mixed fonts character measuring bug#1717
linusha merged 3 commits intomainfrom
fix/mixed-fonts-character-measuring-bug

Conversation

@merryman
Copy link
Member

Fixes #1608.

This allows us to measure characters where the font family is shadowed by a different font family in the text morph. This shadowing leads to slightly differing line heights, making it crucial to handle this measuring context separately.
Requires us to also create style keys that take into account the nested fontFamillies.
@merryman merryman requested a review from linusha February 13, 2025 16:39
@linusha linusha merged commit 914799f into main Feb 20, 2025
4 checks passed
@linusha linusha deleted the fix/mixed-fonts-character-measuring-bug branch February 20, 2025 22:01
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.

Font Measuring with Noto Emojis goes wild

2 participants