7 ms·
Why Canvas for rendering text? Makes very little sense, DOM hardware render support is better on many platforms right now.
by MrNibbles 15y ago
Why Canvas for rendering text? Makes very little sense, DOM hardware render support is better on many platforms right now.
- flaminglunchbox 15y agoAgreed. DOM rendering support has gotten really good over the past year. I want to try a different approach that will make everything seem smoother. Also, since with this sort of text editor you want everything to be aligned in a grid the rendering becomes a set of aligned glyphs... so the GPU rendering can be optimized more so than when considering the entire DOM. If there wasn't that simplification I wouldn't even be suggesting this.