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

Issue 2241683005: SkPDF: unify drawText and drawPosText (Closed)

Created:
4 years, 4 months ago by hal.canary
Modified:
4 years, 4 months ago
Reviewers:
bungeman-skia
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkPDF: unify drawText and drawPosText Motivation: a later CL will add drawTextBlob() (after https://crrev.com/2084533004 lands). This CL is designed with that change in mind. Also fewer redundant lines of code. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2241683005 Committed: https://skia.googlesource.com/skia/+/6059dc32fe36358175cb81541c91e74a2a7e771a Committed: https://skia.googlesource.com/skia/+/4ed2f01cf6f3a63d5185ea5b442549d20ce2ec16

Patch Set 1 : compile on win #

Total comments: 8

Patch Set 2 : 2016-08-15 (Monday) 14:13:45 EDT #

Patch Set 3 : stop assuming typeface has glyphs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -247 lines) Patch
M src/pdf/SkPDFDevice.h View 1 2 chunks +7 lines, -2 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 9 chunks +150 lines, -241 lines 0 comments Download
M src/pdf/SkPDFFont.h View 1 chunk +6 lines, -1 line 0 comments Download
M src/pdf/SkPDFFont.cpp View 1 2 3 chunks +17 lines, -3 lines 0 comments Download

Messages

Total messages: 30 (21 generated)
hal.canary
PTAL
4 years, 4 months ago (2016-08-15 16:41:52 UTC) #11
bungeman-skia
https://codereview.chromium.org/2241683005/diff/20001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/2241683005/diff/20001/src/pdf/SkPDFDevice.cpp#newcode1193 src/pdf/SkPDFDevice.cpp:1193: SkScalar y = 2 == scalarsPerPos ? *pos++ : ...
4 years, 4 months ago (2016-08-15 17:03:37 UTC) #14
hal.canary
also renamed new method to keep with existing private methdos. https://codereview.chromium.org/2241683005/diff/20001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/2241683005/diff/20001/src/pdf/SkPDFDevice.cpp#newcode1193 ...
4 years, 4 months ago (2016-08-15 18:14:22 UTC) #15
bungeman-skia
lgtm
4 years, 4 months ago (2016-08-15 18:42:24 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2241683005/40001
4 years, 4 months ago (2016-08-15 18:44:41 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:40001) as https://skia.googlesource.com/skia/+/6059dc32fe36358175cb81541c91e74a2a7e771a
4 years, 4 months ago (2016-08-15 18:45:39 UTC) #23
robertphillips
A revert of this CL (patchset #2 id:40001) has been created in https://codereview.chromium.org/2248923002/ by robertphillips@google.com. ...
4 years, 4 months ago (2016-08-15 22:36:46 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2241683005/60001
4 years, 4 months ago (2016-08-16 01:16:38 UTC) #28
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 01:40:11 UTC) #30
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://skia.googlesource.com/skia/+/4ed2f01cf6f3a63d5185ea5b442549d20ce2ec16

Powered by Google App Engine
This is Rietveld 408576698