Hello. I updated Krita from version 5.0.2 to 5.2.3
I use the built-in text editor a lot for private classes.
The text editor changed the default font from Noto Sans to Ubuntu.
Now when I open any file created with the previous version the texts appear in the Ubuntu font. It is a very big task to arrange each text.
Is there a way to change the default value of the editor’s font so that I don’t have this problem?
Hello @Gaetano and welcome to the forum 
There has recently been a very similar topic from another new forum user here:
Anyone have this issue with text
so this may be the same problem.
I think it would be a good idea if @wolthera was aware of this.
Was this update from 5.0.2 to 5.3.3 done on the same computer with no other changes made?
From your collection of .kra files previously made with 5.0.2, using Noto Sans text, can you choose one that you haven’t tried to open with 5.2.3 and make it available by posting a link to a file download service/website?
As far as I know, fonts in krita are selected from the fonts that the operating system has and makes available to krita and other applications.
Also, as far as I know, if a font specified in a .kra file is not available on the system then some kind of ‘same family’ or ‘similar fallback’ is used.
Are you sure that Noto Sans is available and that Noto Sans is specified in the SVG editing tab?
There is a problem that appears in all versions of Krita.
If the default font is used in a Krita file, it changes when changing the operating system or Krita version. Unfortunately, this causes the appearance of the document to change.
I imagine that when using the default font, the name of the font used is not saved in the document, but is saved as “default font”.
Regards
@Gaetano, You’ve already reported this in two other topics:
Krita text editor bugs, version 5.2.3
and The text editor changes the default font with each Krita update
I’ve merged this latest report into your main previous report.
The developer responsible for the text tool has been made aware of this.
Please do not report this again.
If you find anything additional (not related to fonts, such as the sub/superscript) problem that you reported then by all means make an additional topic for the subject.
I’ve changed the category of this topic.
So, the problem here is two-fold:
- There’s a bug with the fontconfig detection. This is fixed in a subbranch, and I hope to be able to split it out for the stable, but that’ll take a while.
- Older versions of Krita didn’t save the font family if the font family were the default, which is something that is fixed in 5.3 as well, and what I should try to do is add an extra CSS bit to Krita saved files to ensure that the default font family and default size are always stored.
With super and subscripts, the problem is a little bit more annoying: we had implemented them incorrectly. The CSS baseline-shift super scripts are never scale by themselves, while the old Qt super scripts do. You will have to modify these to be half-sized when 5.3 comes out.