| Summary: | Text DPI issue on KDE Plasma | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Know Zero <knowzero> |
| Component: | Tool/Text | Assignee: | Dmitry Kazakov <dimula73> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | dimula73, keyth2363214, tamtamy.tymona |
| Priority: | NOR | Keywords: | regression, release_blocker |
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Know Zero
2021-06-19 08:01:50 UTC
I am on windows and I have the same issue with Krita 4.4.5 to older krita versions of about a year ago. Well, all Krita 4.x versions had a problem with font size. They used display DPI for font rendering, so the font size saved into the file depended on the computer that was used for creating this document. In Krita 5 I have fixed this problem. On loading it converts the font size into the correct value and saves into the document. Opening this document on any PC with Krita 5.x will show the correct font size whatever the display resolution used. Sadly, versions of Krita 4.x don't know about this fix, so they will show the document differently after it is saved using Krita 5. So the solution is: don't open the .kra files with text created with Krita 5 in older versions of Krita :( (In reply to Dmitry Kazakov from comment #2) > Well, all Krita 4.x versions had a problem with font size. They used display > DPI for font rendering, so the font size saved into the file depended on the > computer that was used for creating this document. > > In Krita 5 I have fixed this problem. On loading it converts the font size > into the correct value and saves into the document. Opening this document on > any PC with Krita 5.x will show the correct font size whatever the display > resolution used. > > Sadly, versions of Krita 4.x don't know about this fix, so they will show > the document differently after it is saved using Krita 5. > > So the solution is: don't open the .kra files with text created with Krita 5 > in older versions of Krita :( But what about the documents created with Krita 4? When people open them, the font will seem fine in Krita 5. But when they edit the font or save the document and re-open them later, they will find the font size changed without them knowing that it did. So at the very least, there should be some sort of warning if you open a Krita 4 document with Text shapes in them that explains the issue and what to do (Cause people will not even understand WHY that is the case or what was the original font size to begin with). Or is it possible to keep the Krita 4 sizes in Krita 5 as long as the original document was made in Krita 4 with the option of converting to Krita 5? For myself I just made a python plugin that divides the font by 0.75 on all fonts and rebuilds them. So 10pt becomes 13.33333pt, but that isn't something most average people will know. There will be a ton of complaints how their documents fonts broke. Not to mention, what purpose does the high DPI workaround serve if it doesn't work on Krita 5 documents? Maybe an extra checkbox to enable it for Krita 5 documents? And the warning can point to this setting? (In reply to Dmitry Kazakov from comment #2) > Well, all Krita 4.x versions had a problem with font size. To correct my last statement a bit, probably a checkbox for Krita 5 would be confusing for new documents. So probably this setting would have to be for individual documents or all documents originally made in Krita 4. I am not overly stressed about my older files as I was forced to rebuild my files and I can do so again. but moving forward with things right does interest me deeply as I don't want to be constantly remaking stuff. as long as Krita 5 holds up with Krita 5 files I guess I am cool. thank you for the Fix. |