aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/jumper/SkJumper_generated.h
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2017-02-15 17:49:12 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-16 00:23:39 +0000
commit4ec46aa17183ffdb18bbd8ace1e1634bbdc036ba (patch)
tree052bd12100c1dbd89e095d3d7a6ea11fa5a71f81 /src/jumper/SkJumper_generated.h
parent25834ffc5a4f6c45830dded7d5d135df157870e6 (diff)
Work around Mac x- and cap-height calculation.
With at least some system fonts and apparently all fonts from data the x-height and cap-height on at least 10.12.3 are always 0.6666 and .8888 of the ascent, respectively. The values from the 'OS/2' table appear to be read, but then the values are overwritten. Work around this by using the values from the 'OS/2' table when available. This also removes fFUnitMatrix as it is no longer used. BUG=skia:6203 Change-Id: Ib79d9d32bca77797de043499c854c35e5ef3aa4b Reviewed-on: https://skia-review.googlesource.com/8452 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'src/jumper/SkJumper_generated.h')
0 files changed, 0 insertions, 0 deletions