Skip to content

Fix font not rendering on first canvas load#6

Merged
tomLadder merged 1 commit intomainfrom
fix/font-loading
Apr 6, 2026
Merged

Fix font not rendering on first canvas load#6
tomLadder merged 1 commit intomainfrom
fix/font-loading

Conversation

@tomLadder
Copy link
Copy Markdown
Owner

Explicitly loads web fonts via document.fonts.load() before Konva renders text elements and forces a canvas layer redraw once the font is available. Fixes issue where labels showed default browser font until interacted with.

@tomLadder tomLadder merged commit b9ddef7 into main Apr 6, 2026
2 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