Subscripted text is not shown after save in the specific text window... This problem appeared with Krita version 5.2 and later.
Hi, I will need a picture of the problem as well as the data in the SVG source tab to identify what is going on.
Created attachment 174703 [details] fig-03.kra Please find attached a .kra file and screenshots on how it appears with either krita 5.1.5 or 5.2.6. In fact, with krita 5.1.5 the 'q0' in '10kq0' is shown as subscript (which is correct) while with krita 5.2.6 the 'q0' in '10kq0' is shown as plain text. You may verify that it is not possible to transform 'q0' again to subscript using the 'text box' in Krita 5.2.6. The same holds for 't0' in kt0 , 't' in kt and '0' in J0. Thank you very much and I hope that I have given you a clear picture of the problem. Gerasimos ger.politis@gmail.com ________________________________ Από: wolthera <bugzilla_noreply@kde.org> Στάλθηκε: Παρασκευή, 11 Οκτωβρίου 2024 6:21 μμ Προς: ger.politis@gmail.com <ger.politis@gmail.com> Θέμα: [krita] [Bug 494540] Subscripted text is not shown after save in the specific text window... (this problem appeared with version 5.2 and later) https://bugs.kde.org/show_bug.cgi?id=494540 wolthera <griffinvalley@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WAITINGFORINFO Status|REPORTED |NEEDSINFO CC| |griffinvalley@gmail.com --- Comment #1 from wolthera <griffinvalley@gmail.com> --- Hi, I will need a picture of the problem as well as the data in the SVG source tab to identify what is going on. -- You are receiving this mail because: You reported the bug.
Created attachment 174704 [details] figure created using Krita 5.1.5.png
Created attachment 174705 [details] figure created using Krita 5.2.6.png
Ok, so the problem here is that qt handled suoer-script completely differently from how we're supossed to do it in SVG. The super-script baseline shift *is* happening in the images in question, but qt auto scaled them as well, and the only way we're going to have anything like that in the new svg engine is if there's subscript synthesis for the new engine, and I have no idea how to tackle that, so that is going to take a very long time to fix. I'll mark this as confirmed till then.