Commit 0b7beaaa authored by Allan Sandfeld Jensen's avatar Allan Sandfeld Jensen Committed by The Qt Project
Browse files

Fix rendering of grayscale antialiased FT fonts on QGLWidget


QFontEngineFT::alphaMapForGlyph and QFontEngineFT::alphaRGBMapForGlyph
has been broken since change#65694. They always fall back to using
the path rendering of QFontEngine because we zero the scoped pointer
just before testing it.

To fix it we need to release the scope pointer after we are done using
it.

Change-Id: I8811c1f5261f286f2f3dd3c0f93c988ba0909669
Reviewed-by: default avatarKonstantin Ritt <ritt.ks@gmail.com>
parent cc0636ea
Showing with 5 additions and 4 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment