aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SampleUnitMapper.cpp
diff options
context:
space:
mode:
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-21 19:44:24 +0000
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-21 19:44:24 +0000
commit5408f8ffdbca9efd787304d62dde6b142c3f0f82 (patch)
treede5a3ffee13d8cfc09c857987e835e1f5a3a7151 /samplecode/SampleUnitMapper.cpp
parentb03be0b887facebc9f6a202c43a1347284655d75 (diff)
Remove 1/2 pixel offsets for distance field layout.
The 1/2 pixel offsets are for rounding when snapping the glyphs to integer boundaries. Since we're using subpixel layout and sampled textures, we shouldn't snap to integer boundaries. BUG=skia:2173 R=bungeman@google.com, reed@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/298753005 git-svn-id: http://skia.googlecode.com/svn/trunk@14828 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleUnitMapper.cpp')
0 files changed, 0 insertions, 0 deletions