News for hackers. Stuff that matters.
Re:Google Docs will now use canvas based rendering by kmeisthax on Wednesday May 12, 2021 @12:09PM (#27131928)
Furthermore, actually implementing your own text renderer and input engine in WASM is a different horrible nightmare, because you've now forfitted any chance of supporting IMEs (e.g. touch keyboards, pinyin/romaji/kanji input, iPadOS Scribble), you need to implement your own text selection inputs, your text won't show up in the accessibility tree, and you can't copy-paste without additional, browser-specific tweaks. The only reason to actually do this is if you can't use HTML.

Source: I am a Ruffle developer and have had to do exactly this to support text input in old Flash games.

Re:Google Docs will now use canvas based rendering by pmontra on Wednesday May 12, 2021 @12:30PM (#27132174)
> you can't copy-paste without additional, browser-specific tweaks

Expect an AI-based OCR browser extension to copy text to the system clipboard. Possibly by sending screenshots to some centralized service ;-)

Re:Google Docs will now use canvas based rendering by kbenson on Wednesday May 12, 2021 @12:50PM (#27132392)
This would be more funny if it was less prescient.