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

Bitmap Fonts #10

Open
erikwatson opened this issue Nov 25, 2018 · 1 comment
Open

Bitmap Fonts #10

erikwatson opened this issue Nov 25, 2018 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@erikwatson
Copy link
Owner

It would be good to support Bitmap Fonts. I think they're basically just letters and numbers in a sprite sheet, so we should be able to make good use of the existing and future spritesheet code when rendering them.

I don't know if there is a standard format for the fonts "texture atlas", so I will have to look that up and decide what to support at some point.

@erikwatson erikwatson added the enhancement New feature or request label Nov 25, 2018
@erikwatson
Copy link
Owner Author

Seems like rendering text into the Canvas using strokeText and fillText is pretty slow.
MDN recommends to avoid doing it unnecessarily - which to me means any time except when prototyping.

I am still going to include the standard drawing functions for this - it's useful to be able to draw quick and dirty text sometimes.

@erikwatson erikwatson added this to the v1.0.0 milestone Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant