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

Issue 5528100: Provide text mapping in text drawing for PDF backend.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by arthurhsu
Modified:
12 years, 3 months ago
CC:
skia-review_googlegroups.com, bungeman
Base URL:
http://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

Provide text mapping in text drawing for PDF backend. This is the first CL in the series that changes drawText signatures in SkCanvas and SkDevice. See https://groups.google.com/a/google.com/forum/#!topic/skia-dev/0JJHFnqvLkk for discussions. BUG=chromium:104062 TEST=existing

Patch Set 1 #

Total comments: 20

Patch Set 2 : Update per code review #

Patch Set 3 : Update per code review #

Total comments: 15

Patch Set 4 : Update per code review #

Total comments: 2

Patch Set 5 : Update per code review #

Patch Set 6 : Fix unit test bugs #

Total comments: 24

Patch Set 7 : Update per code review #

Patch Set 8 : Update per code review #

Patch Set 9 : Update per code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -159 lines) Patch
M gyp/core.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M gyp/tests.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkCanvas.h View 1 2 3 4 5 6 7 8 6 chunks +16 lines, -5 lines 0 comments Download
M include/core/SkDevice.h View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -6 lines 0 comments Download
A include/core/SkUnicharGlyphMapInfo.h View 1 2 3 4 5 6 1 chunk +29 lines, -0 lines 0 comments Download
M include/device/xps/SkXPSDevice.h View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -3 lines 0 comments Download
M include/gpu/SkGpuDevice.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -4 lines 0 comments Download
M include/pdf/SkPDFDevice.h View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -3 lines 0 comments Download
M include/utils/SkDeferredCanvas.h View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -4 lines 0 comments Download
M include/utils/SkDumpCanvas.h View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -4 lines 0 comments Download
M include/utils/SkNWayCanvas.h View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -5 lines 0 comments Download
M include/utils/SkProxyCanvas.h View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -4 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 2 3 4 5 6 7 8 5 chunks +16 lines, -10 lines 0 comments Download
M src/core/SkDevice.cpp View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -4 lines 0 comments Download
M src/core/SkPicturePlayback.h View 1 2 3 4 5 6 7 8 3 chunks +17 lines, -0 lines 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 2 3 4 5 6 7 8 6 chunks +8 lines, -6 lines 0 comments Download
M src/core/SkPictureRecord.h View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -6 lines 0 comments Download
M src/core/SkPictureRecord.cpp View 1 2 3 4 5 6 7 8 10 chunks +29 lines, -12 lines 0 comments Download
M src/device/xps/SkXPSDevice.cpp View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -3 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -4 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 3 4 5 6 7 5 chunks +7 lines, -4 lines 0 comments Download
M src/pipe/SkGPipeWrite.cpp View 1 2 3 4 5 6 7 8 6 chunks +18 lines, -10 lines 0 comments Download
M src/utils/SkDeferredCanvas.cpp View 1 2 3 4 5 6 7 8 16 chunks +35 lines, -35 lines 0 comments Download
M src/utils/SkDumpCanvas.cpp View 1 2 3 4 5 6 7 5 chunks +10 lines, -8 lines 0 comments Download
M src/utils/SkNWayCanvas.cpp View 1 2 3 4 5 6 7 8 2 chunks +12 lines, -10 lines 0 comments Download
M src/utils/SkProxyCanvas.cpp View 1 2 3 2 chunks +12 lines, -9 lines 0 comments Download
A tests/PicturePlaybackTest.cpp View 1 2 3 4 5 6 7 1 chunk +92 lines, -0 lines 0 comments Download

Messages

Total messages: 19
arthurhsu
12 years, 3 months ago (2012-01-13 22:17:16 UTC) #1
Steve VanDeBogart
http://codereview.appspot.com/5528100/diff/1/include/core/SkCanvas.h File include/core/SkCanvas.h (right): http://codereview.appspot.com/5528100/diff/1/include/core/SkCanvas.h#newcode30 include/core/SkCanvas.h:30: typedef struct { Is there a better header for ...
12 years, 3 months ago (2012-01-13 22:31:19 UTC) #2
arthurhsu
http://codereview.appspot.com/5528100/diff/1/include/core/SkCanvas.h File include/core/SkCanvas.h (right): http://codereview.appspot.com/5528100/diff/1/include/core/SkCanvas.h#newcode30 include/core/SkCanvas.h:30: typedef struct { On 2012/01/13 22:31:19, Steve VanDeBogart wrote: ...
12 years, 3 months ago (2012-01-14 00:11:30 UTC) #3
reed1
Lets move this new struct into its own header, and just forward-declare it in SkCanvas.h ...
12 years, 3 months ago (2012-01-17 16:50:02 UTC) #4
Steve VanDeBogart
On 2012/01/17 16:50:02, reed1 wrote: > What does the impl look like in SkPDFDevice.cpp? I ...
12 years, 3 months ago (2012-01-17 18:10:29 UTC) #5
reed1
On 2012/01/17 18:10:29, Steve VanDeBogart wrote: > On 2012/01/17 16:50:02, reed1 wrote: > > What ...
12 years, 3 months ago (2012-01-17 18:37:30 UTC) #6
arthurhsu
On 2012/01/17 18:37:30, reed1 wrote: > On 2012/01/17 18:10:29, Steve VanDeBogart wrote: > > On ...
12 years, 3 months ago (2012-01-24 02:45:07 UTC) #7
reed1
Lets remove the changes to any files in obsolete/ For playback, we can have a ...
12 years, 3 months ago (2012-01-24 16:09:43 UTC) #8
arthurhsu
http://codereview.appspot.com/5528100/diff/9001/include/core/SkTextGlyphMapInfo.h File include/core/SkTextGlyphMapInfo.h (right): http://codereview.appspot.com/5528100/diff/9001/include/core/SkTextGlyphMapInfo.h#newcode12 include/core/SkTextGlyphMapInfo.h:12: #include "SkTDArray.h" On 2012/01/24 16:09:44, reed1 wrote: > Why ...
12 years, 3 months ago (2012-01-24 19:57:14 UTC) #9
reed1
Thanks for the changes. We definitely need to test this in pictures, as it will ...
12 years, 3 months ago (2012-01-25 16:14:00 UTC) #10
arthurhsu
I don't know how to do gm. I've added a test case to validate the ...
12 years, 3 months ago (2012-01-25 20:54:43 UTC) #11
arthurhsu
On 2012/01/25 20:54:43, arthurhsu wrote: > I don't know how to do gm. I've added ...
12 years, 3 months ago (2012-01-25 21:07:46 UTC) #12
arthurhsu
Unit test bug addressed, please review, thanks.
12 years, 3 months ago (2012-01-25 21:25:56 UTC) #13
caryclark1
http://codereview.appspot.com/5528100/diff/15004/gyp/core.gyp File gyp/core.gyp (right): http://codereview.appspot.com/5528100/diff/15004/gyp/core.gyp#newcode233 gyp/core.gyp:233: '../include/core/SkUnicharGlyphMapInfo.h', to keep this alphabetized, move down a line. ...
12 years, 3 months ago (2012-01-25 21:59:58 UTC) #14
reed1
unittest == good http://codereview.appspot.com/5528100/diff/15004/src/core/SkPicturePlayback.h File src/core/SkPicturePlayback.h (right): http://codereview.appspot.com/5528100/diff/15004/src/core/SkPicturePlayback.h#newcode58 src/core/SkPicturePlayback.h:58: bool fHasMapInfo; On 2012/01/25 21:59:58, caryclark1 ...
12 years, 3 months ago (2012-01-25 22:17:24 UTC) #15
arthurhsu
http://codereview.appspot.com/5528100/diff/15004/gyp/core.gyp File gyp/core.gyp (right): http://codereview.appspot.com/5528100/diff/15004/gyp/core.gyp#newcode233 gyp/core.gyp:233: '../include/core/SkUnicharGlyphMapInfo.h', On 2012/01/25 21:59:58, caryclark1 wrote: > to keep ...
12 years, 3 months ago (2012-01-25 23:20:36 UTC) #16
reed1
We can/should avoid the dynamic allocation of the SkUnicharGlyphMapInfo. I think cary's suggestion was more ...
12 years, 3 months ago (2012-01-26 00:04:39 UTC) #17
arthurhsu
On 2012/01/26 00:04:39, reed1 wrote: > We can/should avoid the dynamic allocation of the SkUnicharGlyphMapInfo. ...
12 years, 3 months ago (2012-01-30 19:58:50 UTC) #18
reed1
12 years, 3 months ago (2012-01-30 21:06:35 UTC) #19
lgtm

in future, rebaselining in the middle of a CL makes it hard for reviews to see
what has changed between uploads (i.e. we see your incremental mods and we see
external changes).
Sign in to reply to this message.

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