Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.2
-
-
7c84550f3 (dev), 708a48a0b (6.5), 802dfb187 (6.4), 4d3daea33 (tqtc/lts-6.2), bea15cdfa (dev), cc473646e (6.5)
Description
For very long input strings, but still with limited length, it will scan the whole input for 0x9c. However it looks like it would use qMin() to limit it to the length anyway:
https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/text/qfontmetrics.cpp#n496
This scanning results in a performance issue in laying out some text which has very long lines, like some logs.
Attachments
Issue Links
- relates to
-
QTBUG-109717 Q(Any)StringView support for QFontMetrics
-
- Reported
-