Add dev-qt from an older version of the gentoo repo
Qt5 has been removed, we restore it since we still use it.
This commit is contained in:
20
dev-qt/qtbase/files/qtbase-6.10.3-QTBUG-145310.patch
Normal file
20
dev-qt/qtbase/files/qtbase-6.10.3-QTBUG-145310.patch
Normal file
@ -0,0 +1,20 @@
|
||||
https://mail.kde.org/pipermail/distributions/2026-May/001681.html
|
||||
https://qt-project.atlassian.net/browse/QTBUG-145310
|
||||
https://codereview.qt-project.org/c/qt/qtbase/+/727830
|
||||
--- a/src/gui/text/freetype/qfontengine_ft.cpp
|
||||
+++ b/src/gui/text/freetype/qfontengine_ft.cpp
|
||||
@@ -1956,9 +1956,11 @@
|
||||
|
||||
err = FT_Render_Glyph(slot, renderMode);
|
||||
- if (err != FT_Err_Ok)
|
||||
- qWarning("render glyph failed err=%x face=%p, glyph=%d", err, face, glyph);
|
||||
-
|
||||
FT_Library_SetLcdFilter(slot->library, FT_LCD_FILTER_NONE);
|
||||
|
||||
+ if (err != FT_Err_Ok) {
|
||||
+ qWarning("render glyph failed err=%x face=%p, glyph=%d", err, face, glyph);
|
||||
+ return nullptr;
|
||||
+ }
|
||||
+
|
||||
info.height = slot->bitmap.rows;
|
||||
info.width = slot->bitmap.width;
|
||||
Reference in New Issue
Block a user