| Summary: | [retro-compatibility] Text scaling issue after opening Krita 3.x *.kra | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | David REVOY <info> |
| Component: | Tool/Text | Assignee: | Dmitry Kazakov <dimula73> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | halla |
| Priority: | NOR | Keywords: | release_blocker |
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/krita/664fbcb72d23356cdf46677a8cc1f770e9c7978e | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | [^ screenshot of the scaling issue: 3.x file in 4.0 ] | ||
|
Description
David REVOY
2018-03-03 20:47:50 UTC
I'm not sure whether this can be fixed, but I'll ask Dmitry to take a look. Git commit d270a5706b7cdf1a1d1dfa58a066a63adea58935 by Dmitry Kazakov. Committed on 09/03/2018 at 11:06. Pushed by dkazakov into branch 'master'. Fix loading of Artistic Shape objects saved by Krita 3.x In Krita 3.x we used hardcoded SVG and Font resolution (90 and 96ppi correspondingly). So we should resemble that behavior in newer versions. M +2 -0 libs/flake/KoShapeRegistry.cpp M +1 -0 libs/flake/svg/SvgGraphicContext.cpp M +1 -0 libs/flake/svg/SvgGraphicContext.h M +7 -0 libs/flake/svg/SvgParser.cpp M +4 -0 libs/flake/svg/SvgParser.h M +17 -9 libs/flake/svg/SvgShapeFactory.cpp M +1 -4 libs/flake/svg/SvgShapeFactory.h M +6 -1 libs/flake/svg/SvgStyleParser.cpp https://commits.kde.org/krita/d270a5706b7cdf1a1d1dfa58a066a63adea58935 Git commit 664fbcb72d23356cdf46677a8cc1f770e9c7978e by Boudewijn Rempt, on behalf of Dmitry Kazakov. Committed on 17/03/2018 at 08:54. Pushed by rempt into branch 'krita/4.0'. Fix loading of Artistic Shape objects saved by Krita 3.x In Krita 3.x we used hardcoded SVG and Font resolution (90 and 96ppi correspondingly). So we should resemble that behavior in newer versions. (cherry picked from commit d270a5706b7cdf1a1d1dfa58a066a63adea58935) M +2 -0 libs/flake/KoShapeRegistry.cpp M +1 -0 libs/flake/svg/SvgGraphicContext.cpp M +1 -0 libs/flake/svg/SvgGraphicContext.h M +7 -0 libs/flake/svg/SvgParser.cpp M +4 -0 libs/flake/svg/SvgParser.h M +17 -9 libs/flake/svg/SvgShapeFactory.cpp M +1 -4 libs/flake/svg/SvgShapeFactory.h M +6 -1 libs/flake/svg/SvgStyleParser.cpp https://commits.kde.org/krita/664fbcb72d23356cdf46677a8cc1f770e9c7978e |