Created attachment 161709 [details] Krita New Text Engine doesn't recognize the first white spaces in the first line After upgrading to the new text engine, Krita now fails to recognize the first white spaces in the first line of a text shape. All white spaces in front of the first line is now ignored. But they work fine starting from the second line. I used full-width white spaces in the sample, which is widely used in CJK countries. But it is the same for half-width white spaces used in western countries.
Created attachment 161710 [details] Krita Text Tool can't recognize white spaces in front of the first line KRA
Hi Tyson, Good news, this isn't a bug, but rather that by default we're supossed to 'trim' those first spaces. The other good news is that we'll be making the default that new texts are created with white-space:pre-wrap; , which does not do that. You can add this value to the css in the source view of the text editor to see for yourself. I suppose the only bad news is that I've already done that in the text cursor branch, but because everyone else is busy with getting 5.2 finished, no one really has time to review and answer my questions, making progress on that slow, but having 5.2 released will probably solve that.
Thanks for the explanation! :D
*** Bug 479353 has been marked as a duplicate of this bug. ***