Font rendering bug on some Android devices!?
-
Hi, yeah I know the worst is we can't reproduce the bug ourselves and test possible fixes for it. :/
Another user send me a possible workaround, I have set the QML environment variable QML_USE_GLYPHCACHE_WORKAROUND to 1, that should work for some devices, but again I can't test it myself so it's hard to say.
qputenv("QML_USE_GLYPHCACHE_WORKAROUND", QByteArray("1"));
that workaround was described here: https://bugreports.qt-project.org/browse/QTBUG-34984
I think most rendering bugs are due to corrupt device drivers for OpenGL, but there is nothing we can do about it I guess.
-
I usually use native font "Droid Sans" when building Android application. It is so far so good.
-
For my app I did not specify any font explicitly, so it should use the default device font I think ( Roboto on Android?). It looked good on my devices so I thought it would be best not to set any font family at all.
[quote author="jiangcaiyang" date="1399629141"]I usually use native font "Droid Sans" when building Android application. It is so far so good.[/quote] -
@mehrdad Well the bug report https://bugreports.qt-project.org/browse/QTBUG-34984 (posted by @Xander84 here) says it is fixed. Which Qt version are you using ?