Keep web fontdata alive as long as CG uses it
authorAllan Sandfeld Jensen <allan.jensen@digia.com>
Tue, 29 Oct 2013 10:52:43 +0000 (11:52 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 31 Oct 2013 10:50:23 +0000 (11:50 +0100)
commitab219c9594234356332351dd8b630d6963880b0f
treec4275a23bd70aeed6d061954f3a25806e9e63dd8
parent088fe949570ce31aba6d9b97a4084195cbb3b9e1
Keep web fontdata alive as long as CG uses it

With OS X 10.9 font decoding appears to happen lazily, this means we
have to ensure the data we provide CG is kept alive until CG dereferences
it itself.

Backport of 89ab2671051671ecf440ba480caf0b6b6768b1a9

Change-Id: I29d5bf9d6efac4668ea2c85fa5393ed1c1e621b5
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
src/gui/text/qrawfont_mac.cpp