summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontdatabase.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2020-06-22 16:07:59 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2020-08-06 08:34:12 +0000
commitb7a1bd306443e4f932a96020c1d48418916237ea (patch)
tree52eed105e256841250ad44468047c51c1a7092d6 /src/gui/text/qfontdatabase.cpp
parent6d6ed64d6ca27c1b5fec305e6ed9b923b5bb1037 (diff)
macOS: Make getColor() return generic RGB components
Discard the color space and return the selected RGB/CMYK color components, without any color space conversion. This enables predictable color handling as long as you stay on a single display. All color triplets are display RGB: drawing the QColor returned by getColor() will reproduce the selected color on-screen. (Predictable color across multiple displays require color management, which is out of scope here). Fixes: QTBUG-84124 Pick-to: 5.15 Change-Id: I43d8dc15d07635fabdd0662c84f7c0b5ac40b7ab Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/text/qfontdatabase.cpp')
0 files changed, 0 insertions, 0 deletions