2 ms·
That is all or mostly possible with PixiJS or an extension to my knowledge. Edit: but then again, Pixi uses the HTML canvas element for text drawing, which use
by lukan 3y ago
That is all or mostly possible with PixiJS or an extension to my knowledge.
Edit: but then again, Pixi uses the HTML canvas element for text drawing, which uses the browsers text capabilities. So yes, at some point and somewhere those functionalities need to be implemented
- interactivecode 3y agoSure canvas can render text, but its filled with problems and limitations. It doesn’t do linewrapping or any of the font rendering correctly. Doesn’t do aliasing correctly. It needs so much hand holding and manual handling to render semi decent that basically all canvas apps just opt out and use html to render text on top of canvas. Canvas is almost always the wrong choice if you want to do layouts.