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++
Ensure that the masked glyphs get saved correctly.
Wolthera van Hövell tot Westerflier865719c19cf1
diff --git a/libs/flake/text/KoSvgTextShape_p_output.cpp b/libs/flake/text/KoSvgTextShape_p_output.cppindex f7e4269880..4be8dd25dd 100644--- a/libs/flake/text/KoSvgTextShape_p_output.cpp+++ b/libs/flake/text/KoSvgTextShape_p_output.cpp@@ -418,6 +418,7 @@ KoSvgTextShape::Private::collectPaths(const KoShape *rootShape, QVector<CharacteKoShape *shape = imageFactory->createShape(¶ms);if (bitmapGlyph->image.isGrayscale() || bitmapGlyph->image.format() == QImage::Format_Mono) {KoShape *rect = rectangleFactory->createDefaultShape();+ shape->setSize(drawRect.size());rect->setSize(drawRect.size());rect->setStroke(nullptr);KoClipMask *mask = new KoClipMask();