summaryrefslogtreecommitdiffstats
path: root/header.LGPL-ONLY
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>2014-07-02 17:14:26 +0200
committerGabriel de Dietrich <gabriel.dedietrich@digia.com>2014-07-29 17:33:19 +0200
commite7839d9717820a8f0049316c626d28fbcf252fa7 (patch)
tree9480032068358098e895179e27b4a2d21db563d8 /header.LGPL-ONLY
parent0afc80c9225ca9630f627fe1aea3d4fd7f958082 (diff)
QCoreTextFontDatabase: Fix font weight value when populating a family
kCTFontWeightTrait returns a normalized value between -1.0 (lightest) and 1.0 (heaviest), 0.0 being the regular font weight. The threshold values used in this change have been estimated from the weight values of fonts from the Helvetica Neue and Myriad Pro font families. Change-Id: I49de8e8bd5894107de4842aeda7ace2e83f95be3 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'header.LGPL-ONLY')
0 files changed, 0 insertions, 0 deletions