| commit | 683001ce0de70c859ea5e5353245b18cadbefc45 | [log] [tgz] |
|---|---|---|
| author | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed May 09 17:17:51 2012 +0000 |
| committer | vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed May 09 17:17:51 2012 +0000 |
| tree | 1273ab16c136560717f603186052087a81de2055 | |
| parent | b1af07aa43698d23b791617a070ad825436b4026 [diff] [blame] |
[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 Review URL: https://codereview.appspot.com/6137060 git-svn-id: http://skia.googlecode.com/svn/trunk@3884 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp index e0e18cd..35394b6 100644 --- a/src/pdf/SkPDFFont.cpp +++ b/src/pdf/SkPDFFont.cpp
@@ -1378,7 +1378,7 @@ &content); const SkPath* path = cache->findPath(glyph); if (path) { - SkPDFUtils::EmitPath(*path, &content); + SkPDFUtils::EmitPath(*path, paint.getStyle(), &content); SkPDFUtils::PaintPath(paint.getStyle(), path->getFillType(), &content); }