-
Notifications
You must be signed in to change notification settings - Fork 16
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
Text rendering #12
Comments
Yeah I've been thinking about this. Exposing |
Well,
Other than the Alternatively, depending on |
Another complication: |
This is what I was thinking initially - text is a very complicated thing, and not all projects will want to do it this way. I avoided the concern for this reason, but having |
In my opinion, from a point of usability, such code should be a part of I see it as a special kit alongside shape and sprite rendering. |
Yeah I've been thinking about this, and I'd be open to have bitmap text rendering built-in. This is how The question will remain: should rgx include a default bitmap font or not. |
This is what the font looks like: https://github.com/cloudhead/rx/blob/master/assets/glyphs.png |
Are there plans to include this functionality?
It could be done using
wgpu_glyph
, but this requires thewgpu::Device
handle to be exposed (a simple method onrgx::core::Device
would suffice I think).The text was updated successfully, but these errors were encountered: