https://bugs.kde.org/show_bug.cgi?id=443795
Dmitry Kazakov <dimul...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap |hics/krita/commit/f0f55bea8 |hics/krita/commit/b655bfe14 |e06c74b3a1b499d6c4cd84a2957 |63234178775d530311286bcc2ae |6753 |7f0b --- Comment #5 from Dmitry Kazakov <dimul...@gmail.com> --- Git commit b655bfe1463234178775d530311286bcc2ae7f0b by Dmitry Kazakov. Committed on 02/12/2021 at 14:17. Pushed by dkazakov into branch 'krita/5.0'. Fix line height being too huge in Krita 5.0 All the internals of QTextDocument work with the primary screen's DPI. That is, when we ask Qt about font metrics, it returns values scaled to the pixels in the current screen, that is, ptValue * qt_defaultDpi() / 72.0. We need to convert this value back into points before writing as SVG. Therefore, all the metrics returned by the document are scaled with `fixQtDpi()`. Official Qt's way to workaround this problem is to set logicalDpiX/Y() values on the paint device's associated with the document. But it seems like in our version of Qt (5.12.12, which is rather old) it doesn't work properly. M +28 -5 libs/flake/text/KoSvgTextShapeMarkupConverter.cpp https://invent.kde.org/graphics/krita/commit/b655bfe1463234178775d530311286bcc2ae7f0b -- You are receiving this mail because: You are watching all bug changes.