Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(375)

Issue 6137060: [PDF] Ensure that filling single line paths (with no area) does not draw anything. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by Steve VanDeBogart
Modified:
12 years, 5 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

[PDF] Ensure that filling single line paths (with no area) does not draw anything. Add a test to a gm to confirm the new behavior. Fixes http://crbug.com/123072 Committed: https://code.google.com/p/skia/source/detail?r=3884

Patch Set 1 #

Patch Set 2 : Make fix in PDF code only. #

Total comments: 2

Patch Set 3 : Use SkPaint::Style and fix argument order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -11 lines) Patch
M gm/pathfill.cpp View 2 chunks +14 lines, -1 line 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M src/pdf/SkPDFFont.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/pdf/SkPDFUtils.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M src/pdf/SkPDFUtils.cpp View 1 2 3 chunks +45 lines, -6 lines 0 comments Download

Messages

Total messages: 11
Steve VanDeBogart
PTAL. I'm not particularly happy with this approach so I'm happy to consider alternatives.
12 years, 5 months ago (2012-04-30 23:40:10 UTC) #1
reed1
Is an equivalent fix the ability to detect contours with only 2 (non-degenerate) line segments, ...
12 years, 5 months ago (2012-05-01 12:33:05 UTC) #2
Steve VanDeBogart
On 2012/05/01 12:33:05, reed1 wrote: > Is an equivalent fix the ability to detect contours ...
12 years, 5 months ago (2012-05-01 17:07:40 UTC) #3
reed1
given that this is a fuzzy problem (fuzzy in that its not obvious how to ...
12 years, 5 months ago (2012-05-01 17:41:34 UTC) #4
Steve VanDeBogart
On 2012/05/01 17:41:34, reed1 wrote: > given that this is a fuzzy problem (fuzzy in ...
12 years, 5 months ago (2012-05-02 20:50:20 UTC) #5
reed1
My preference would be to implement it outside initially, since it is only needed by ...
12 years, 5 months ago (2012-05-03 12:14:34 UTC) #6
Steve VanDeBogart
12 years, 5 months ago (2012-05-09 00:44:55 UTC) #7
reed1
lgtm (w/ suggestion) https://codereview.appspot.com/6137060/diff/7001/src/pdf/SkPDFUtils.h File src/pdf/SkPDFUtils.h (left): https://codereview.appspot.com/6137060/diff/7001/src/pdf/SkPDFUtils.h#oldcode45 src/pdf/SkPDFUtils.h:45: static void EmitPath(const SkPath& path, SkWStream* ...
12 years, 5 months ago (2012-05-09 12:53:41 UTC) #8
Steve VanDeBogart
Use SkPaint::Style and fix argument order
12 years, 5 months ago (2012-05-09 17:07:51 UTC) #9
Steve VanDeBogart
https://codereview.appspot.com/6137060/diff/7001/src/pdf/SkPDFUtils.h File src/pdf/SkPDFUtils.h (left): https://codereview.appspot.com/6137060/diff/7001/src/pdf/SkPDFUtils.h#oldcode45 src/pdf/SkPDFUtils.h:45: static void EmitPath(const SkPath& path, SkWStream* content); On 2012/05/09 ...
12 years, 5 months ago (2012-05-09 17:09:09 UTC) #10
reed1
12 years, 5 months ago (2012-05-09 17:16:28 UTC) #11
doh, right. SkPaint::Style.

lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b