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/cd3313794491fc |krita/commit/535ca1fc6fde92
                   |6409e0a9db31d2813920c7192b  |003258c2dd861e05cce3bf8004

--- Comment #7 from vanyossi <ghe...@gmail.com> ---
Git commit 535ca1fc6fde92003258c2dd861e05cce3bf8004 by Ivan Yossi.
Committed on 11/09/2019 at 23:27.
Pushed by ivany into branch 'master'.

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

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

https://invent.kde.org/kde/krita/commit/535ca1fc6fde92003258c2dd861e05cce3bf8004

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

Reply via email to