aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorGravatar Khushal <khushalsagar@chromium.org>2018-05-31 11:15:13 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-31 20:12:44 +0000
commit458f40a43e12260a3b73ee170b30d966d6c1fe56 (patch)
treec8129d44757148b5926726dbcb4faeaa942631fa /bench
parent82cecb6027e776f18840c4d983f838a285d67a5d (diff)
font remoting: Fix errors with sub-pixel positioning mismatch.
1) Use correct offset from SkTextBlobRunIterator. Only kHorizontal_Positioning needs to use the y offset specified on the run. 2) Use the same mapping function from SkFindAndPlaceGlyph for mapping the glyph position from transform for the run. This avoids minor rounding differences between analysis and draw. R=bungeman@google.com,herb@google.com Bug:829622 Change-Id: Iaef74a8d01f0850ce042149458b2ea795c2a2b61 Reviewed-on: https://skia-review.googlesource.com/131169 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Khusal Sagar <khushalsagar@chromium.org>
Diffstat (limited to 'bench')
0 files changed, 0 insertions, 0 deletions