Bug 494540 - Subscripted text is not shown after save in the specific text window... (this problem appeared with version 5.2 and later)
Summary: Subscripted text is not shown after save in the specific text window... (this...
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (show other bugs)
Version: 5.2.6
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-11 14:33 UTC by gerasimos
Modified: 2024-10-11 18:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
fig-03.kra (575.86 KB, application/octet-stream)
2024-10-11 17:32 UTC, gerasimos
Details
figure created using Krita 5.1.5.png (280.08 KB, image/png)
2024-10-11 17:32 UTC, gerasimos
Details
figure created using Krita 5.2.6.png (286.18 KB, image/png)
2024-10-11 17:32 UTC, gerasimos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gerasimos 2024-10-11 14:33:07 UTC
Subscripted text is not shown after save in the specific text window... This problem appeared with Krita version 5.2 and later.
Comment 1 wolthera 2024-10-11 15:21:31 UTC
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.
Comment 2 gerasimos 2024-10-11 17:32:35 UTC
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.
Comment 3 gerasimos 2024-10-11 17:32:36 UTC
Created attachment 174704 [details]
figure created using Krita 5.1.5.png
Comment 4 gerasimos 2024-10-11 17:32:36 UTC
Created attachment 174705 [details]
figure created using Krita 5.2.6.png
Comment 5 wolthera 2024-10-11 18:46:12 UTC
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.