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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/-/commit/e29cf8b
                   |                            |578c177a7090e9301c2cf0e7a87
                   |                            |1d5ba7
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit e29cf8b578c177a7090e9301c2cf0e7a871d5ba7 by Dmitry Kazakov, on
behalf of Nicholas LaPointe.
Committed on 20/02/2025 at 08:34.
Pushed by dkazakov into branch 'master'.

Treat pattern name as UTF-8 when loading a .pat resource

GIMP pattern names are stored as null-terminated UTF-8 strings, but we were
loading them as Latin-1.

References:
(UTF-8) https://developer.gimp.org/core/standards/pat/
(Null-termination)
https://gitlab.gnome.org/GNOME/gimp/-/blob/127cd67118727ef9086c829e66b7894c72c2ef98/app/core/gimppattern-header.h#L42

M  +1    -1    libs/pigment/resources/KoPattern.cpp

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

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

Reply via email to