[Interest] Font question

Harri Pasanen harri at mpaja.com
Tue Apr 21 11:08:39 CEST 2015


I'm playing with Text.Fit, trying to see how big a number 0 can be.

Text {
         id: countLabel
         anchors.fill: parent
         text: qsTr("0")
         fontSizeMode: Text.Fit
         minimumPointSize: 10
         font.pointSize: 1000
         verticalAlignment: Text.AlignVCenter
         horizontalAlignment: Text.AlignHCenter
}


On Android, S4 mini CM12 ROM, 960x540 resolution, the default font 
starts to show polygon origin,
so inside of zero is no longer a nice curve.

Is this an attribute of the font, or how can I improve it?

Thanks,

Harri



More information about the Interest mailing list