QTextCharFormat::setFont(): Preserve the font hinting preference
Task-number: QTBUG-22653 Change-Id: I9153486ff7793ba4427b64459896ab1328d51548 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
parent
ef05a7d64f
commit
731f2a179b
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user