Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.6.1
-
None
-
Qt 5.6.1 on i.MX6
Description
On i.MX6 we have seen font corruption when using CJK fonts and putting serveral strings using CJK on the screen while on the same time having latin1 strings on the screen. Over the time, the latin1 texts would degrade to pixel dirt (see attached screenshot)
Problem is that in the i.MX6's driver, the max size of the viewport is a bit smaller than the max size of a texture.
The glyph cache will use the texture size for caching, but when applying the viewport, it will get clamped to smaller size.
We solved this by making QSGDefaultDistanceFieldGlyphCache::maxTextureSize return the minimum of max texture size and max viewport size
Issue was seen with Google's NotoCJK font and an inhouse font.
Sorry, due to infrastructure issues I cannot provide a fix using Gerrit.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-56086 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
191773,1 | Fix character cut-off with asien characters | 5.9 | qt/qtdeclarative | Status: NEW | 0 | 0 |