Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support system font #142

Open
tocque opened this issue Nov 6, 2024 · 1 comment
Open

[Feature Request] Support system font #142

tocque opened this issue Nov 6, 2024 · 1 comment

Comments

@tocque
Copy link

tocque commented Nov 6, 2024

Currently, UIKit uses MSDF fonts that need to be referenced separately. However, CJK languages require huge font files (commonly 10MB +). Could you consider providing a way to use system fonts, such as implementing text drawing based on the fillText method of canvas2d?

@Ledzz
Copy link
Contributor

Ledzz commented Nov 17, 2024

I've created some code for my project that does it in worker. But it doesn't work very well because at the end I use yoga containers and image component to place it on stage. @bbohlender was talking about rewriting text rendering to allow any rendering solution, such as this.

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

No branches or pull requests

2 participants