Created attachment 191476 [details] Demonstration of the bug. The small text on the left is taken from the preview image and the large text, now in Italics, is taken from the project file view. Krita has stopped displaying the "Regular" font variant for Calibri at some point. In the past, Calibri Regular was selectable in the past, but at some point between 5.3.0beta3 and the final 5.3.0 release, it stopped showing up in the Font Family list and the change reflected in the project file that had the "Regular" variant selected, which now defaulted to Italic. STEPS TO REPRODUCE 1. Start a project file in Krita 5.3.0beta3. 2. Create two text objects and set one to Calibri Regular and another to another variant of Calibri. 3. Save project file. 4. Update to 5.3.0/5.3.1. 5. Open the project file previously made in 5.3.0beta3. OBSERVED RESULT Calibri Regular is no longer selectable and the text object that was set to it is now defaulting to Calibri Italic. EXPECTED RESULT Calibri Regular remains selectable and the text object that was set to it stays set to that variant. SOFTWARE/OS VERSIONS Windows: 11 25H2 KB5072033 Qt Version: 5.15.11 (PyQt) ADDITIONAL INFORMATION git hash: 9069dbc0a2702d366ebd966ad6ccca812b0ed8d7
It seems I mistakenly copied over the outdated system information from my last bug report so here's the corrected bit for Windows. Windows: 11 25H2 2026-03 Update (KB5086672) (26200.8117)
Git commit 18b0ff698ce29d9614bdd8a7e096b067c2081368 by Wolthera van Hövell tot Westerflier. Committed on 24/04/2026 at 12:01. Pushed by woltherav into branch 'master'. Fix font style-selection search algorithm in text properties docker. M +14 -3 plugins/dockers/textproperties/FontStyleModel.cpp https://invent.kde.org/graphics/krita/-/commit/18b0ff698ce29d9614bdd8a7e096b067c2081368
Git commit edb81a3f8a96539c919bd040dc7fed2c236ae49d by Wolthera van Hövell. Committed on 24/04/2026 at 12:16. Pushed by woltherav into branch 'krita/6.0'. Fix font style-selection search algorithm in text properties docker. (cherry picked from commit 18b0ff698ce29d9614bdd8a7e096b067c2081368) Co-authored-by: Wolthera van Hövell tot Westerflier <griffinvalley@gmail.com> M +14 -3 plugins/dockers/textproperties/FontStyleModel.cpp https://invent.kde.org/graphics/krita/-/commit/edb81a3f8a96539c919bd040dc7fed2c236ae49d
Hey, I've just done a fix where it somehow understood italic to be a regular, and thus selecting it incorrectly. Can you test the next Krita plus (tomorrow, day after), to see if this fixes it? If it doesn't, I'll need that Kra file (and I'll need to find a copy of the calibri family, but that's another story).
(In reply to wolthera from comment #4) > Hey, > > I've just done a fix where it somehow understood italic to be a regular, and > thus selecting it incorrectly. Can you test the next Krita plus (tomorrow, > day after), to see if this fixes it? If it doesn't, I'll need that Kra file > (and I'll need to find a copy of the calibri family, but that's another > story). It seems that the Regular variant now shows up again, but as a separate font family from the existing Calibri font family, which had previously stopped giving me that variant between 5.3.0beta3 and 5.3.0.
Git commit 345bd16ae4942d8b2f2b0136862423e92375d4ef by Wolthera van Hövell tot Westerflier. Committed on 28/05/2026 at 11:36. Pushed by woltherav into branch 'master'. Fix recognising fonts with mixed wws-only state. When the regular font had no wws-only flag set, but related fonts did, the wws node would be generated for the related fonts first, and the regular font would never be sorted into that. We now also generate a wws node for the regular font. M +31 -22 libs/flake/text/KoFFWWSConverter.cpp https://invent.kde.org/graphics/krita/-/commit/345bd16ae4942d8b2f2b0136862423e92375d4ef
Ok, the latest fix I did works with calibri, but it needs a lot of testing. Please check the next nightly (krita:next) to see if I didn't break any other font families, and then we can backport this to krita:plus (and then finally it'll end up in a bugfix release).
Nevermind, I reverted it: Caused crashes.