Skip to content

fix: load canvas fonts also when using webgl renderer#29

Closed
CosmaVergari wants to merge 1 commit into
solid-tv:mainfrom
CosmaVergari:feat/allow-canvas-font-load
Closed

fix: load canvas fonts also when using webgl renderer#29
CosmaVergari wants to merge 1 commit into
solid-tv:mainfrom
CosmaVergari:feat/allow-canvas-font-load

Conversation

@CosmaVergari

Copy link
Copy Markdown

At the moment on the renderer side the canvas text renderer is created but the fonts are not loaded, so renderText does not work.
Solution : allow the loading of canvas fonts when using any non-dom renderer

@chiefcll

Copy link
Copy Markdown
Contributor

Why? We're only using SDF OR Canvas, not both. What is the use case for loading both sets of fonts?

@CosmaVergari

Copy link
Copy Markdown
Author

Why? We're only using SDF OR Canvas, not both. What is the use case for loading both sets of fonts?

This PR is for adding the capability of using Canvas fonts on the WebGL renderer. As of now that check prevents loading Canvas fonts when the WebGL renderer is used.

@chiefcll

Copy link
Copy Markdown
Contributor

Fixed with:
092c77c

@chiefcll chiefcll closed this Jun 18, 2026
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