Font Scaling issue with Quicksand
-
I'm using the "Quicksand Font":http://www.google.com/fonts/specimen/Quicksand for one of my designs and I'm observing certain defects at large font sizes, particularly for "0" and "8" characters. The curves start to flatten out at any font size greater than 65 points/pixels. I haven't tested for every character but my primary concern is for numbers. I observe the same effect with both Qt Quick 1.1 and 2.0.
@Rectangle {
width: 360
height: 360Text { anchors.centerIn: parent text: "08" font {pixelSize: 165; family: "Quicksand";} }
}
@[Expected]
!http://i.imgur.com/FFZwVN3.png(Expected Output )![QML Result]
!http://i.imgur.com/ze3cu96.png(QML Result)!Expected output was generated using "Typecast":http://typecast.com/preview/google/Quicksand
-
Just tried this, it didn't change anything. My target is Embedded Linux at Qt 4.8.3. But I've also tried this on my desktop machine (Ubuntu 12.04 with Qt 5.1.1) too and there is no change. Do you think Font Formats might have something to do with this, I'm using TrueType in both cases. Appreciate the help.
[quote author="Jens" date="1385392028"]It might be an artifact of distance field rendering relying on fixed resolution pixmaps. You can try setting renderType: Text.NativeRendering in Qt Quick 2 and see if that helps depending on what the use case is.[/quote]