Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.6.3, 4.7.1, 5.5.0
-
None
Description
QTextCharFormat::fontItalic() should match QTextCharFormat::font().italic().
We make sure this by propergating the font properties when we call QTextCharFormat::setFont and by collecting property values when we call QTextCharFormat::font(). However when setting the default font, the properties of the font are not correctly propergated, so after that QTextCharFormat::fontItalic() doesn't return the correct value.
This problem exists for other properties too.
Attached test case can be used to reproduce the problem. click in the middle of the string in the textedit and check the output information.