diff options
author | Yoann Lopes <yoann.lopes@digia.com> | 2014-09-02 15:56:56 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@digia.com> | 2014-09-03 12:30:42 +0200 |
commit | 688019893d2cbd9ccdc4d75c550bca4530a46ee4 (patch) | |
tree | 6854ed804de38228059318a3a442adf98416e221 | |
parent | e28cb78eb1c18a286293284628e4c77889282ca1 (diff) |
Android: add documentation for an environment variable.
Documented QT_ANDROID_DISABLE_GLYPH_CACHE_WORKAROUND.
Task-number: QTBUG-40483
Change-Id: I1d52f672f07b2dca3d71b80febcc9e70bd2f139c
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-rw-r--r-- | doc/src/platforms/platform-notes-android.qdoc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/src/platforms/platform-notes-android.qdoc b/doc/src/platforms/platform-notes-android.qdoc index c7d567943..b168fa468 100644 --- a/doc/src/platforms/platform-notes-android.qdoc +++ b/doc/src/platforms/platform-notes-android.qdoc @@ -115,6 +115,18 @@ \gui Run settings of your project, expanding \gui{Package configurations} and selecting the \gui Libraries tab. Manually check the libraries that are dependencies of your project. + \section1 Text Special Considerations + + Because of a bug in some OpenGL drivers, the mechanism used by Qt to cache text glyphs does + not work as expected on all Android devices, causing text to appear scrambled. To remedy this, + a workaround is in place, which increases memory consumption and can also affect text rendering + performance. Before Qt 5.3.2, the workaround was enabled only for a particular set of devices. + It is now used by default on all devices. + + You can disable the workaround by setting the \c QT_ANDROID_DISABLE_GLYPH_CACHE_WORKAROUND + environment variable to \c 1. You should do so only after verifying that text appears correctly + on all targeted devices. + \section1 OpenGL Special Considerations Qt for Android provides two separate platform plugins: One which is suited for traditional |