.kra Portability

When a .kda file is saved on the first computer, text appears to be resized and/or moved when opened on a second computer.

Am I doing something wrong or is there a method to make Krita files potable between computers?

Thank you

Which version of krita are you using and which operating system?

.kra files are supposed to be portable between different computers and different versions of krita.

Can you post fullscreen screenshots (.png) taken on each computer showing this resized/moved problem?

Krita does not embed fonts into .kra files (also because it’s problematic regarding copyrights), so if your other system does not have the used font available, another one will have to be used.

Part 1 of 2

Thank you for the response @AhabGreybeard and @Lynx3d . All computers are Win 10 with the latest version of Krita installed (v4.3.0). The following images show my problem:

.kra on fist computer below:

Part 2 of 2

Response for @AhabGreybeard and @Lynx3d .

The .kra was copied to a second computer. The .kra appeared correct on the second computer when the same monitor was used. The following image was captured when a monitor with a different resolution was used on the second computer (below image):

The problem appears to be due to the difference in monitor resolutions.

This seems like some kind of overlap/clash between text as a ‘document thing’ with font sizes to be displayed on screens with digital paper of a certain size and with text as an ‘artwork thing’ on a particular image/canvas size.

The differences could be deeply embedded in the various libraries that are used and may be unavoidable. There may be some tweaks that could be done with system level scaling or other things but you’d need a developer to tell you if that was possible.

In that case I’d start by investigating how Qt uses fonts and font scaling across resolutions. It might be unavoidable (I wouldn’t think so unless it’s an external bug), but the question of improper font scaling in Qt should pop up somewhere and be researchable.

The text size is affected by the dpi of the image, which is not surprising.
What also happens is that vector object size is affected by the dpi.

Here is a canvas created to be 2048 x 2048 at 100dpi and text was created on it and a red vector rectangle drawn around it:

Then I created a new image of 2048 x 2048 150dpi and copied the red rectangle over and created text there too. The text is bigger but also the red rectangle is bigger on the second image, which I find surprising:

If I copy the text from the first to the second then it becomes bigger as might be expected.

Could you raise a formal bug report at: https://bugs.kde.org/ ?
If you attach your two screenshots they will be useful additions.
The bug reporting system is a bit clunky until you get used to it but it’s not difficult to use. Please post a link to the bug report here.

I suspect that the report will be classified as ‘Upstream’ but it would be good to have formal visibility of it.

@AhabGreybeard, a Bug Report was submitted per your request:

https://bugs.kde.org/show_bug.cgi?id=423972

The interface was “clunky” as you stated but I was able to submit the report.