-
Bug
-
Resolution: Fixed
-
P2: Important
-
QSR 2.0, QSR 2.1.0 RC 1
-
None
-
b159d6bfd (dev), 47f660fd3 (tqtc/lts-6.5)
In the code that displays the simple number "20" as shown below, a display error occurs depending on the situation.
Using the Orbitron font
runtimeEditable: true
font.pixelSize is 153 or lower: OK
font.pixelSize is 154 or higher: NOK
SafeText {
id: textItem
objectName: "textItem"
height: 200
width: 600
color: "black"
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
font.pixelSize: 154
font.family: "Orbitron"
fillColor: "white"
text: "20"
runtimeEditable: true
}
Only the first letter is rendered if the size is bigger than 153.
The root cause is that we have reserved signed int8 for the advance variable and the value does not match to the variable.
- mentioned in
-
Page Loading...
| For Gerrit Dashboard: QSR-2464 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 568480,3 | Fix the text rendering issue with big fonts | dev | tqtc-boot2qt/qtsaferenderer-runtime | Status: MERGED | +2 | 0 |
| 572040,2 | Fix the text rendering issue with big fonts | tqtc/lts-6.5 | tqtc-boot2qt/qtsaferenderer-runtime | Status: MERGED | +2 | 0 |