diff options
author | epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-08-26 14:40:38 +0000 |
---|---|---|
committer | epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-08-26 14:40:38 +0000 |
commit | 17b78946096265d80215a6c946286ecaa35ea7ed (patch) | |
tree | 3af45529670451a9df0bd13ca71fa6a4a98d0eae /src/pdf | |
parent | 5f226572b3b6e1a6fea11f5f3c862a47158f66fe (diff) |
rolling back the experimental rollbacks in r2178-2179
git-svn-id: http://skia.googlecode.com/svn/trunk@2180 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/pdf')
-rw-r--r-- | src/pdf/SkPDFDevice.cpp | 1 | ||||
-rw-r--r-- | src/pdf/SkPDFFont.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index e72a6b7603..8cf1eca3b8 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp @@ -517,7 +517,6 @@ SkPDFDevice::SkPDFDevice(const SkISize& pageSize, const SkISize& contentSize, fInitialTransform.preConcat(initialTransform); SkIRect existingClip = SkIRect::MakeWH(this->width(), this->height()); - fExistingClipStack.clipDevRect(existingClip); fExistingClipRegion.setRect(existingClip); this->init(); diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp index 989b276d73..fe55c8d046 100644 --- a/src/pdf/SkPDFFont.cpp +++ b/src/pdf/SkPDFFont.cpp @@ -488,7 +488,7 @@ void append_cmap_sections(const SkTDArray<SkUnichar>& glyphToUnicode, (i >> 8) == (currentRangeEntry.fStart >> 8) && glyphToUnicode[i] == (currentRangeEntry.fUnicode + continuousEntries)) { - currentRangeEntry.fEnd = i; + currentRangeEntry.fEnd = i; if (i == glyphToUnicode.count() - 1) { // Last entry is in a range. bfrangeEntries.push(currentRangeEntry); |