Summary: | [text-tool] Crash when editing a text with a specific font (IMFellEnglish) | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | David REVOY <info> |
Component: | Tool/Text | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | halla, lucidsunlight |
Priority: | NOR | ||
Version: | 4.4.2-beta1 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/a7e69386f6cd62bd6e868cac74ca1c1f7e81010a | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | ^ Krita file sample that reproduce the crash: just a small 577x225px file with centered a text-box to edit. |
Description
David REVOY
2020-12-10 14:23:25 UTC
Yes, I can confirm the crash. The crash is caused by ` [ ]` at the end of `font-family` property on text object, which is used to specify font foundry, according to Qt docs. Git commit 105262fc28ddb8bb2f81c090823f4801524decd2 by Halla Rempt. Committed on 07/09/2021 at 12:53. Pushed by rempt into branch 'master'. Fix QFontDatabase::parseFontName It would crash if there was a space in the angle brackes for the foundry. A +26 -0 3rdparty/ext_qt/0001-Do-not-crash-if-the-foundry-name-is-an-empty-space.patch M +1 -0 3rdparty/ext_qt/CMakeLists.txt https://invent.kde.org/graphics/krita/commit/105262fc28ddb8bb2f81c090823f4801524decd2 Git commit a7e69386f6cd62bd6e868cac74ca1c1f7e81010a by Halla Rempt. Committed on 08/09/2021 at 07:30. Pushed by rempt into branch 'krita/5.0'. Fix QFontDatabase::parseFontName It would crash if there was a space in the angle brackes for the foundry. (cherry picked from commit 105262fc28ddb8bb2f81c090823f4801524decd2) A +26 -0 3rdparty/ext_qt/0001-Do-not-crash-if-the-foundry-name-is-an-empty-space.patch M +1 -0 3rdparty/ext_qt/CMakeLists.txt https://invent.kde.org/graphics/krita/commit/a7e69386f6cd62bd6e868cac74ca1c1f7e81010a |