diff --git a/src/gui/text/qtextformat.cpp b/src/gui/text/qtextformat.cpp index 4decb3d248..4f8a25c5a8 100644 --- a/src/gui/text/qtextformat.cpp +++ b/src/gui/text/qtextformat.cpp @@ -1898,6 +1898,7 @@ void QTextCharFormat::setFont(const QFont &font) setFontStretch(font.stretch()); setFontStyleHint(font.styleHint()); setFontStyleStrategy(font.styleStrategy()); + setFontHintingPreference(font.hintingPreference()); setFontKerning(font.kerning()); }