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

Dmitry Kazakov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Dmitry Kazakov <[email protected]> ---
The crash happens because of this line:

https://invent.kde.org/graphics/krita/-/blob/master/libs/flake/text/KoFontRegistry.cpp#L548

FT_New_Face returns failure, hence `lengths` and `faces` vectors start to have
different sizes, which is wrong.

So, the bug has two parts:

1) Make sure that `lengths` and `faces` have the same size even when
FT_New_Face returns failure (either be inserting a fallback face, or modifying
both vectors)

2) Find out why FT_New_Face returns failure, is it our own fault?

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

Reply via email to