Created attachment 111815 [details] Krita text tool not respecting multiple spaces next to each other krita-4.1.0-pre-alpha-39cc9f9-x86_64.appimage When there are multiple spaces next to each other in the editor, Krita treat them as one space on canvas output. I guess this is another SVG compliance induced issue? Using spaces to adjust letter placement is a very common, if not the only way to handle letter spacing in typography, especially when Krita doesn't have the ability to adjust letter spacing at the moment.
It's probably caused by the fact that the text is now in xml, and xml normalizes spaces to one space.
Git commit 66127663d6930fcc8581997d977761a9f838ef49 by Dmitry Kazakov. Committed on 02/10/2018 at 20:05. Pushed by dkazakov into branch 'master'. Fix loading of consequent special unicode whitespace characters To add multiple consequent whitespaces, do the following: 1) Switch to SVG mode 2) Write   (for en-space) or   (for em-space) at the place where non-compressible characters should appear. 3) Now you may switch back into rich-text mode if needed, the mnemonics will be automatically converted into corresponding Unicode characters. NOTE: non-numeric mnemonics, like   or   are not supported (is seems like SVG standard doesn't support that) M +3 -3 libs/flake/text/KoSvgTextChunkShape.cpp https://commits.kde.org/krita/66127663d6930fcc8581997d977761a9f838ef49
Git commit 548f7522be86e78cdb82f436c39ce14e4ab3c860 by Dmitry Kazakov. Committed on 02/10/2018 at 20:05. Pushed by dkazakov into branch 'krita/4.1'. Fix loading of consequent special unicode whitespace characters To add multiple consequent whitespaces, do the following: 1) Switch to SVG mode 2) Write   (for en-space) or   (for em-space) at the place where non-compressible characters should appear. 3) Now you may switch back into rich-text mode if needed, the mnemonics will be automatically converted into corresponding Unicode characters. NOTE: non-numeric mnemonics, like   or   are not supported (is seems like SVG standard doesn't support that) M +3 -3 libs/flake/text/KoSvgTextChunkShape.cpp https://commits.kde.org/krita/548f7522be86e78cdb82f436c39ce14e4ab3c860
(In reply to Dmitry Kazakov from comment #3) > Git commit 548f7522be86e78cdb82f436c39ce14e4ab3c860 by Dmitry Kazakov. > Committed on 02/10/2018 at 20:05. > Pushed by dkazakov into branch 'krita/4.1'. > > Fix loading of consequent special unicode whitespace characters > > To add multiple consequent whitespaces, do the following: > > 1) Switch to SVG mode > 2) Write   (for en-space) or   (for em-space) > at the place where non-compressible characters should appear. > 3) Now you may switch back into rich-text mode if needed, the > mnemonics will be automatically converted into corresponding > Unicode characters. > > NOTE: non-numeric mnemonics, like   or   are not supported > (is seems like SVG standard doesn't support that) > > M +3 -3 libs/flake/text/KoSvgTextChunkShape.cpp > > https://commits.kde.org/krita/548f7522be86e78cdb82f436c39ce14e4ab3c860 Thank you Dmitry! But is it possible to do this without switching to SVG mode and input   ? For one I don't know about this code at all although being a HTML/CSS coder for many years now, we always use . I would love to see this implemented in a way that allows user to just input multiple [SPACE] in the Rich Text Editor.