Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.5.0, 5.6.0, 5.7.0 Alpha
-
None
-
Linux
Description
With some fonts, QFontMetrics::elidedText elides text even when passed width from QFontMetrics::width(QString).
QFontMetrics::width(QString) returns the distance to where the next string should be drawn (from docs), so the passed text should fit into returned width without eliding.
Affected fonts: Noto Sans
Unaffected fonts: DejaVu Sans
Attached is a sample program that shows the issue.