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

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/36d3a5cc7
                   |                            |c9fc323569d2cdf6e7cfc78f882
                   |                            |9b98

--- Comment #5 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 36d3a5cc7c9fc323569d2cdf6e7cfc78f8829b98 by Dmitry Kazakov.
Committed on 18/04/2023 at 12:40.
Pushed by dkazakov into branch 'master'.

Fix huge slowdown when saving long text into the text shape

There were two issues:

1) paintPaths() used to rasterize **all** the character paths, even
   the ones outside the current painter's clip rect. That was obviously
   slow, because the tiled vector rendering code forced it to rasterize
   the whole text 10+ times.

2) paintPaths() passed the bounding outline rect incorrectly to the
   descendants. Instead of passing the outline of the child shape
   it passed the outline of the root shape, which caused
   KoClipMaskPainter to allocate too huge buffer for rendering the
   text.

M  +25   -15   libs/flake/text/KoSvgTextShape.cpp

https://invent.kde.org/graphics/krita/commit/36d3a5cc7c9fc323569d2cdf6e7cfc78f8829b98

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

Reply via email to