Font rendering bug on some Android devices!?
-
wrote on 7 May 2014, 13:12 last edited by p3c0
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.
-
wrote on 7 May 2014, 13:22 last edited by
I just got feedback from a user that Qt 5.3 fixes the issue for him on his Sony Xperia T, I hope it will work on Huawei and the others too. Stay tuned :)
-
wrote on 7 May 2014, 13:38 last edited by
Great, I am waiting fort the stable release of Qt 5.3, but if that fixes the font problems that would be nice. :)
-
wrote on 8 May 2014, 13:26 last edited by
Greetings,
i have a font rendering bug under windows which doesn't exist on android-devices... strange QML. :)
-
wrote on 9 May 2014, 09:52 last edited by
I usually use native font "Droid Sans" when building Android application. It is so far so good.
-
wrote on 9 May 2014, 14:34 last edited by
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] -
wrote on 15 Apr 2015, 07:46 last edited by
Hi
how can i set the QML environment variable QML_USE_GLYPHCACHE_WORKAROUND to 1? -
-
wrote on 15 Apr 2015, 08:08 last edited by
thanks, it work for huawei p6 but not for textfiled element...
-
@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 ?
-
wrote on 16 Apr 2015, 12:27 last edited by
5.4.1
i use textEdit for create my own textField and it work!
thanks...