Priority: P2: Important
Affects Version/s: 5.10.0
Fix Version/s: None
Component/s: GUI: Painting
Can be reproduced with latest Qt on at least X11 and macOS (you just need to zoom in your text document, you surely will hit some font size that is bad)
Different applications using the QTextLayout mechanism to render text have the same rendering glitches with some font sizes.
You will get horizontal or vertical "non-filled" pixels in your textlines.
E.g. If you have some "white" background and paint over text with some different background, you sometimes will get small "gaps" in the painted text.
This happens e.g. on X11 or macOS.
Example bug in Kate/KWrite (that uses QTextLayout directly without QTextDocument) can be seen here (horizontal lines, the same can happen vertically):
Effect with QtCreator using 5.10.0 on macOS:
Given two totally different code bases have the same issue (and QtCreator uses QTextDocument), I think this is some rendering issue in Qt.
|For Gerrit Dashboard: QTBUG-66036|
|219804,4||fix selection rendering issues if rounding leads to left-out pixels||dev||qt/qtbase||Status: MERGED||+2||0|