Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Make svg transforms apply only on utf32 codepoints as per spec.
Wolthera van Hövell tot Westerflierafc23d942801
diff --git a/libs/flake/text/KoSvgTextShape_p_layout.cpp b/libs/flake/text/KoSvgTextShape_p_layout.cppindex 77cfa20f58..c4b12ae831 100644--- a/libs/flake/text/KoSvgTextShape_p_layout.cpp+++ b/libs/flake/text/KoSvgTextShape_p_layout.cpp@@ -851,8 +851,14 @@ void KoSvgTextShape::Private::resolveTransforms(KisForest<KoSvgTextContentElemenresult[k].addressable = false;continue;}+ if (k > 0 && text.at(k).isLowSurrogate() && text.at(k-1).isHighSurrogate()) {+ // transforms apply per-undicode codepoint, not per utf16.+ result[k].addressable = false;+ continue;+ }if (i < local.size()) {+KoSvgText::CharTransformation newTransform = local.at(i);newTransform.mergeInParentTransformation(resolved[k]);resolved[k] = newTransform;