diff --git a/src/gui/text/qfontengine.cpp b/src/gui/text/qfontengine.cpp index 5035b61fe9..1b5e49df31 100644 --- a/src/gui/text/qfontengine.cpp +++ b/src/gui/text/qfontengine.cpp @@ -1863,6 +1863,7 @@ bool QFontEngineMulti::stringToCMap(const QChar *str, int len, && ucs4 != QChar::LineFeed && ucs4 != QChar::CarriageReturn && ucs4 != QChar::ParagraphSeparator + && QChar::category(ucs4) != QChar::Other_Control && QChar::category(ucs4) != QChar::Other_PrivateUse) { if (!m_fallbackFamiliesQueried) const_cast(this)->ensureFallbackFamiliesQueried();