You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short of doing real GPU text rendering, we could generate font sheets + info in the plugin based on a TTF. Producing them for fixed sizes is perfectly ok.
The road to GPU font's might be:
As above.
Alter to read glyph info output to code, and have indigo do something like the above onload (requires render targets?). Since we only need pixel art, this may not be too bad (if pixel inside glphy then render else dispose)
Instead of rendering immediately, use the glyph info to render SDF data.
The text was updated successfully, but these errors were encountered:
I haven't tried this (by @mprevel), but it's an interesting idea and work looking into.
Short of doing real GPU text rendering, we could generate font sheets + info in the plugin based on a TTF. Producing them for fixed sizes is perfectly ok.
The road to GPU font's might be:
The text was updated successfully, but these errors were encountered: