Is it possible to highlight text through SVG?

Hello, kind Krita artists.

I have used the text tool to make this example text and I want to highlight it in red in the text editor
image

I couldn’t find an option in the “Rich Text” menu of the text editor so I looked up svg and apparently in CSS and HTML I’d just have to write this in the right place: background-color:“#f00000
I tried to do it in multiple spots but nothing happened.

If anybody knows a fix for that, I’d love to know.

Of course there is the possibility to just add a drawing layer and draw a rectangle but I want highlighting to work the same throughout the document to keep it neat and editing the text would mess everything up every time.

:slight_smile: Hello @LowerBound_Struggler, and welcome to the forum!

For my knowledge, this is not implemented in Krita. And I have currently no idea how to work around that limitation/if there is a workaround.
I would guess that this won’t even be possible with the upcoming new rewritten Text Tool, although it will have tons of cool new features, like on canvas editing and all the other things mentioned in the Text Tool Thread, because it is too much, or too near to, a photo editor feature. But this assumption may be wrong, only I just don’t feel like skimming through that huge topic to sift that answer out for you, maybe it is in and I just can’t remember it.

Michelist

1 Like

It’s not possible to ‘highlight text’, no, this feature is not part of the SVG spec, so there’s no implementation for it. You will have to add a rectangle behind the text yourself.

2 Likes

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.