Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(690)

Issue 197423003: Fix distance field edge detection. (Closed)

Created:
6 years, 9 months ago by jvanverth1
Modified:
6 years, 9 months ago
Reviewers:
robertphillips
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Fix distance field edge detection. When computing the initial edges for distance field generation, I was skipping the outer pixels of glyphs to avoid accessing out of range memory. However, there might be an edge transition on those pixels. This detects those cases. Committed: http://code.google.com/p/skia/source/detail?r=13791

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -8 lines) Patch
M src/core/SkDistanceFieldGen.cpp View 1 5 chunks +59 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jvanverth1
6 years, 9 months ago (2014-03-12 16:12:28 UTC) #1
robertphillips
lgtm + nits & suggestions https://codereview.chromium.org/197423003/diff/1/src/core/SkDistanceFieldGen.cpp File src/core/SkDistanceFieldGen.cpp (right): https://codereview.chromium.org/197423003/diff/1/src/core/SkDistanceFieldGen.cpp#newcode16 src/core/SkDistanceFieldGen.cpp:16: Name this guy EdgeFlags? ...
6 years, 9 months ago (2014-03-12 16:40:07 UTC) #2
jvanverth1
The CQ bit was checked by jvanverth@google.com
6 years, 9 months ago (2014-03-13 15:46:25 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/197423003/20001
6 years, 9 months ago (2014-03-13 15:46:30 UTC) #4
commit-bot: I haz the power
6 years, 9 months ago (2014-03-13 17:11:47 UTC) #5
Message was sent while issue was closed.
Change committed as 13791

Powered by Google App Engine
This is Rietveld 408576698