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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/-/commit/b90110d |hics/krita/-/commit/de25496
                   |3e0420eed1e258f3178f2a89660 |70876392fb9c46dc1842245482a
                   |cedefe                      |0bb428

--- Comment #2 from wolthera <griffinval...@gmail.com> ---
Git commit de2549670876392fb9c46dc1842245482a0bb428 by Wolthera van Hövell, on
behalf of Wolthera van Hövell tot Westerflier.
Committed on 02/08/2023 at 17:53.
Pushed by woltherav into branch 'krita/5.2'.

Fix line-height being capped due to naive handling of negative ascent.

Because ascent and descent can be negative or positive depending on the
writing mode, the intial code attempted to regard them somewhat agnostic
until it was time to calculate the precise offset. This however capped
the offset to 0, and made it impossible to have negative line-offsets.

The code now considers negative values appropriately.


(cherry picked from commit b90110d3e0420eed1e258f3178f2a89660cedefe)

M  +45   -26   libs/flake/text/KoSvgTextShape.cpp

https://invent.kde.org/graphics/krita/-/commit/de2549670876392fb9c46dc1842245482a0bb428

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

Reply via email to