commit | 21deace8efc8e167d8626187ef0e6b4c241324b6 | [log] [tgz] |
---|---|---|
author | jvanverth <jvanverth@google.com> | Wed Apr 01 12:43:48 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Apr 01 12:43:48 2015 -0700 |
tree | 695eedb6664e5edf333820eb6a21371c1ea2e562 | |
parent | 1d89e8d1a46dfd8dd0a417edec5409721a1600a6 [diff] |
Emulate distance field gamma fix by making glyphs thicker or thinner The idea here is that we determine the 0.5 crossover for each row in the gamma table, then invert the mapping to determine which point that maps to in the original range [-.65, .65]. That gives us a change in the apparent width of the glyph that closely corresponds to the change produced by the gamma fix. BUG=skia:2933 Review URL: https://codereview.chromium.org/1042373002