https://bugs.kde.org/show_bug.cgi?id=426607

wolthera <griffinval...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |griffinval...@gmail.com

--- Comment #2 from wolthera <griffinval...@gmail.com> ---
Created attachment 179817
  --> https://bugs.kde.org/attachment.cgi?id=179817&action=edit
Patch that fixes the issue in a wonky way.

Ok, so... there's a bit of weirdness here.

You see, I'm not sure if SVG text are supossed to be able to have
baseline-shift be applied at the paragraph level. Within Krita especially this
doesn't mean much, because super and sub align to the parent font, but our
textshapes have no parent font (css inheritance starts at the textshape).

I've attached a patch that makes this work with the default font-size, but I'm
generally very skeptical of the whole thing, and I'm unsure if I should
implement it, as it can make text layout dependent on default fontsize. If you
setup the text to have a single span that is super-scripted, then it already
works.

I need to think longer about this...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to