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++
Fix offset for psd saved inline-size bounds.
Wolthera van Hövell tot Westerflier2ca3f24d7b9b
diff --git a/libs/psd/psd_layer_section.cpp b/libs/psd/psd_layer_section.cppindex 658a680a3e..84a072c086 100644--- a/libs/psd/psd_layer_section.cpp+++ b/libs/psd/psd_layer_section.cpp@@ -669,7 +669,7 @@ void PSDLayerMaskSection::writePsdImpl(QIODevice &io, KisNodeSP rootLayer, psd_c// unsure about the bounds, needs more research.textData.boundingBox = text->boundingRect().normalized();textData.bounds = text->outlineRect().normalized();- textData.bounds.setTopLeft(QPointF());+ textData.bounds.translate(-text->outlineRect().topLeft());convert.convertToPSDTextEngineData(svgtext, textData.bounds, &textData.engineData, textData.text, textData.isHorizontal);textData.textIndex = 0;if (text->outlineRect().topLeft().isNull()) {