Bug 426607 - Cannot set superscript or subscript for the whole text in text tool
Summary: Cannot set superscript or subscript for the whole text in text tool
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (show other bugs)
Version: 4.3.0
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-16 13:08 UTC by Tiar
Modified: 2021-03-30 13:12 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiar 2020-09-16 13:08:50 UTC
SUMMARY
You can set subscript or superscript for a part of text and save and it will work, but you cannot set it to the whole text.

STEPS TO REPRODUCE
1. Create a text shape, open the editor.
2. Select whole text.
3. Go to Format -> Superscript.
4. Observe text in the rich text editor changing to superscript.
5. Select all and press Save.

OBSERVED RESULT
Text on the canvas doesn't change.

EXPECTED RESULT
Text on the canvas should change to superscript.

SOFTWARE/OS VERSIONS
Krita 4.3.0
Linux Mint 19.3

ADDITIONAL INFORMATION
If you just select a part of text and set it to superscript or subscript, it will work. So it's not rendering that's wrong here.
Comment 1 Ahab Greybeard 2020-09-17 14:34:38 UTC
I can confirm this

It is possible to set the entire text to superscript or subscript by using the svg editor:
Have one normal letter followed by super/subscript characters created in the rich text editor then save and close.
Open for editing and use the svg editor to remove that one letter, then Save.
The entire text will then be in superscript.
However, if you edit again and use the rich text editor then it goes back to 'normal' text.