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

vanyossi <ghe...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/
                   |krita/commit/535ca1fc6fde92 |krita/commit/93e737e74eb930
                   |003258c2dd861e05cce3bf8004  |e6384999e2c350d7803d844567

--- Comment #9 from vanyossi <ghe...@gmail.com> ---
Git commit 93e737e74eb930e6384999e2c350d7803d844567 by Ivan Yossi.
Committed on 12/09/2019 at 04:59.
Pushed by ivany into branch 'krita/4.2'.

Fix hang when utf line break is used

Break the loop: if adding an offset to the number of columns doesn't
increase the line length, we break out of the loop to avoid an
infinite loop on loading some files.

Shift + Enter creates an utf break character which breaks
the lenght calculation. Also added a reptition flag to avoid
any other hang if there is a strange symbol.

ref:https://invent.kde.org/kde/krita/merge_requests/128


(cherry picked from commit 535ca1fc6fde92003258c2dd861e05cce3bf8004)

M  +1    -1    libs/flake/text/KoSvgTextChunkShape.cpp
M  +11   -0    libs/flake/text/KoSvgTextShape.cpp

https://invent.kde.org/kde/krita/commit/93e737e74eb930e6384999e2c350d7803d844567

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

Reply via email to