Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
5.8.0 Alpha
-
None
-
73176d2922baae1ccaa702e4900b0473071d0a96 (qtbase), ff085e2591e8257c373db1c52475b9b54c3da56b (qtdeclarative)
Description
A pretty common use case when a text is updated at a high frequency, is that is is formatted as follows: <static prefix> [dynamic text consisting of numerals] <static postfix>.
Adding a way to
1. Anchor to the advance width of a text item
and
2. Tell Qt that OpenType features are not required for the numerals with an optimization flag
should improve performance in this use case significantly, since you would be able to put the static text in separate text items and skip a big part of the text layout process for the dynamic text.
Attachments
Issue Links
- is duplicated by
-
QTBUG-55477 QFont rendering problem (missing spaces between letters tt, ti, fl, and fi)
-
- Closed
-
For Gerrit Dashboard: QTBUG-56728 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
181078,7 | Add advance property to QQuickText | dev | qt/qtdeclarative | Status: MERGED | -2 | 0 |
194028,1 | WIP: More text specific anchors | dev | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
198928,4 | Expose "kerning" property for fonts | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
199045,5 | Add comparison benchmarks for disabling kerning/shaping | master | qt-labs/qmlbench | Status: MERGED | +2 | 0 |
199082,6 | Add API to disable text shaping on fonts | dev | qt/qtbase | Status: MERGED | +2 | 0 |
199084,8 | Add property to disable shaping on fonts | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
199181,2 | doc: Use correct class in docs for font.kerning | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
203845,2 | Update import to 2.10 in tests for Text.advance | 5.10 | qt/qtdeclarative | Status: MERGED | +2 | 0 |