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

Issue 2231483002: SkPDF: Subset Type3 (fallback) font (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@SkPDF_next3
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkPDF: Subset Type3 (fallback) font Motivation: significant file-size reduction. Also: SkPDFFont::subsetFont() returns a sk_sp<SkPDFObject> rather than a SkPDFFont*. SkPDFType3Font constructor no longer populates font info; relies on subsetting. SkPDFFont::Create is easier to read Also: SkPDFType3Font are scaled by emSize rather than 1000. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2231483002 Committed: https://skia.googlesource.com/skia/+/88b138da99328b04cae9a8ee19c3882b8847a550 Committed: https://skia.googlesource.com/skia/+/7e8d5d3519ea2d4c7f158ff9737843e20daad0cb

Patch Set 1 : 2016-08-09 (Tuesday) 22:35:28 EDT #

Patch Set 2 : 2016-08-10 (Wednesday) 10:28:24 EDT #

Total comments: 16

Patch Set 3 : 2016-08-10 (Wednesday) 14:58:04 EDT #

Total comments: 4

Patch Set 4 : 2016-08-11 (Thursday) 08:39:03 EDT #

Patch Set 5 : 2016-08-11 (Thursday) 13:49:34 EDT #

Total comments: 2

Patch Set 6 : 2016-08-11 (Thursday) 14:02:09 EDT #

Patch Set 7 : winding number ??? 2016-08-11 (Thursday) 14:10:36 EDT #

Patch Set 8 : nit #

Patch Set 9 : 2016-08-12 (Friday) 08:40:07 EDT #

Patch Set 10 : 2016-08-12 (Friday) 10:20:16 EDT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -99 lines) Patch
M src/pdf/SkPDFDevice.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 3 4 5 6 7 8 5 chunks +23 lines, -4 lines 0 comments Download
M src/pdf/SkPDFDocument.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/pdf/SkPDFFont.h View 1 chunk +1 line, -1 line 0 comments Download
M src/pdf/SkPDFFont.cpp View 1 2 3 4 5 6 7 8 9 11 chunks +201 lines, -90 lines 0 comments Download
M src/pdf/SkPDFTypes.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 62 (51 generated)
hal.canary
PTAL
4 years, 4 months ago (2016-08-10 14:37:25 UTC) #27
bungeman-skia
https://codereview.chromium.org/2231483002/diff/80001/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): https://codereview.chromium.org/2231483002/diff/80001/src/pdf/SkPDFFont.cpp#newcode1079 src/pdf/SkPDFFont.cpp:1079: SkGlyphID operator*() const { return SkToU16(fCurrent); } Doesn't this ...
4 years, 4 months ago (2016-08-10 15:32:56 UTC) #30
hal.canary
https://codereview.chromium.org/2231483002/diff/80001/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): https://codereview.chromium.org/2231483002/diff/80001/src/pdf/SkPDFFont.cpp#newcode1079 src/pdf/SkPDFFont.cpp:1079: SkGlyphID operator*() const { return SkToU16(fCurrent); } On 2016/08/10 ...
4 years, 4 months ago (2016-08-10 18:59:53 UTC) #31
bungeman-skia
https://codereview.chromium.org/2231483002/diff/100001/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): https://codereview.chromium.org/2231483002/diff/100001/src/pdf/SkPDFFont.cpp#newcode1091 src/pdf/SkPDFFont.cpp:1091: int fCurrent; // must be int to make fLast+1 ...
4 years, 4 months ago (2016-08-11 16:19:56 UTC) #33
hal.canary
https://codereview.chromium.org/2231483002/diff/100001/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): https://codereview.chromium.org/2231483002/diff/100001/src/pdf/SkPDFFont.cpp#newcode1091 src/pdf/SkPDFFont.cpp:1091: int fCurrent; // must be int to make fLast+1 ...
4 years, 4 months ago (2016-08-11 17:49:48 UTC) #34
bungeman-skia
lgtm with two nits https://codereview.chromium.org/2231483002/diff/140001/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): https://codereview.chromium.org/2231483002/diff/140001/src/pdf/SkPDFFont.cpp#newcode1086 src/pdf/SkPDFFont.cpp:1086: : fFirst(f), fCurrent(c) {} nit: ...
4 years, 4 months ago (2016-08-11 18:19:12 UTC) #43
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/2231483002/200001
4 years, 4 months ago (2016-08-11 18:47:43 UTC) #46
commit-bot: I haz the power
Committed patchset #8 (id:200001) as https://skia.googlesource.com/skia/+/88b138da99328b04cae9a8ee19c3882b8847a550
4 years, 4 months ago (2016-08-11 19:25:13 UTC) #48
hal.canary
A revert of this CL (patchset #8 id:200001) has been created in https://codereview.chromium.org/2232283003/ by halcanary@google.com. ...
4 years, 4 months ago (2016-08-11 20:59:10 UTC) #49
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/2231483002/240001
4 years, 4 months ago (2016-08-12 14:58:45 UTC) #60
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 14:59:45 UTC) #62
Message was sent while issue was closed.
Committed patchset #10 (id:240001) as
https://skia.googlesource.com/skia/+/7e8d5d3519ea2d4c7f158ff9737843e20daad0cb

Powered by Google App Engine
This is Rietveld 408576698