Text Tool Thread

Alright, small update again:

I spend the last month on reworking the insides of the text shape, particularly how data is stored. This was necessary because the old way the data was stored made it too easy to leak the data as we’d edit the text, which is a type of bug where Krita basically forgets to clean up after itself, filling up the RAM with stuff it doesn’t need anymore.

I then spend some time on getting basic rich text editing to work, which includes changing the color / weight / italics / underline and getting rich text copy-paste to work:

Now, I want to wait for these two to merge, before I continue with full rich text editing. The reason for this is that I still need to ensure units are remembered (which requires another rework of the text data), yet at the same time, the state of the basic editing is as such that I can start to experiment with opentype glyph selection, and I’d like to work on those two simultaneously.