summaryrefslogtreecommitdiffstats
path: root/src/imports/multimedia/qdeclarativeaudio.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-05-19 08:20:08 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-05-19 08:43:21 (GMT)
commitfa608f9094591c146f9170ba485ea2e4d7827dca (patch)
treed9f367e61996f2dcb1b8a4c4f034152ca997e406 /src/imports/multimedia/qdeclarativeaudio.cpp
parent42d46a85a50926cd24d7216cb99b4084f6d8ad04 (diff)
downloadQt-fa608f9094591c146f9170ba485ea2e4d7827dca.zip
Qt-fa608f9094591c146f9170ba485ea2e4d7827dca.tar.gz
Qt-fa608f9094591c146f9170ba485ea2e4d7827dca.tar.bz2
Small hack to allow forcing off font smoothing on Mac OS X
In declarative all text is cached in a transparent buffer. Using subpixel antialiasing for this gives subpar results, and for better results, we want to turn off the font smoothing in the OS for this case. Since we cannot efficiently detect non-opaque destination pixels, we have to have a way where a user can override the default. We'll introduce a style strategy for this later, but for now we only want to enable the use of CGContextSetShouldSmoothFonts() to explicitly turn smoothing off in the declarative context. We still override if font smoothing has been explicitly turned off by us for the context by the TextAntialiasing flag. Task-number: QT-2776 Reviewed-by: MortenS
Diffstat (limited to 'src/imports/multimedia/qdeclarativeaudio.cpp')
0 files changed, 0 insertions, 0 deletions