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

Dmitry Kazakov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/-/commit/aa8c8c9 |hics/krita/-/commit/2047cbd
                   |d70b595fc77baffcec1979e8184 |6557a509649b941ae8dfdb8ddd6
                   |7e3cd7                      |83e575

--- Comment #4 from Dmitry Kazakov <[email protected]> ---
Git commit 2047cbd6557a509649b941ae8dfdb8ddd683e575 by Dmitry Kazakov.
Committed on 11/03/2026 at 09:27.
Pushed by dkazakov into branch 'krita/6.0'.

Ensure length and font list is similar and catch freetype errors

Sometimes the font doesn't load, and then there's a mismatch in font and length
sizes, causing a crash. We try to make sure these values are the same, log an
error when the font cannot be loaded, and try to use a previous or fallback
font
when a font cannot be loaded.


(cherry picked from commit aa8c8c9d70b595fc77baffcec1979e81847e3cd7)

9e40160c Ensure length and font list is similar, add ability to identify
freetype error.
3bb2f4e6 Add assert in KoFontRegistry, ensure the fallback font has it's
fontsize configured.

Co-authored-by: Wolthera van Hövell <[email protected]>

M  +75   -17   libs/flake/text/KoFontRegistry.cpp

https://invent.kde.org/graphics/krita/-/commit/2047cbd6557a509649b941ae8dfdb8ddd683e575

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

Reply via email to