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

Issue 2221163002: SkPDF: SkPDFFont organization changes. (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: SkPDFFont organization changes. SkPDFFont: - SkPDFType1Font::populate() encode advances correctly. - break out logically independent code into new files: * SkPDFConvertType1FontStream * SkPDFMakeToUnicodeCmap SkPDFFont.cpp is now 380 lines smaller. Expose `SkPDFAppendCmapSections()` for testing. SkPDFFontImpl.h - Fold into SkPDFFont. SkPDFConvertType1FontStream: - Now assume given a SkStreamAsset SkPDFFont: - AdvanceMetric now hidden in a anonymous namespace. No public API changes. TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2221163002 Committed: https://skia.googlesource.com/skia/+/8eccc308c8adcdf26ffc7c4dd538b71f33c6f22b

Patch Set 1 #

Total comments: 4

Patch Set 2 : 2016-08-09 (Tuesday) 12:13:54 EDT #

Total comments: 4

Patch Set 3 : 2016-08-09 (Tuesday) 12:32:21 EDT #

Patch Set 4 : whitespace #

Patch Set 5 : 2016-08-09 (Tuesday) 15:24:15 EDT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+638 lines, -642 lines) Patch
M gyp/pdf.gypi View 1 chunk +4 lines, -1 line 0 comments Download
M include/core/SkTypeface.h View 1 chunk +0 lines, -1 line 0 comments Download
A src/pdf/SkPDFConvertType1FontStream.h View 1 chunk +28 lines, -0 lines 0 comments Download
A src/pdf/SkPDFConvertType1FontStream.cpp View 1 2 3 4 1 chunk +205 lines, -0 lines 0 comments Download
M src/pdf/SkPDFFont.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/pdf/SkPDFFont.cpp View 1 2 12 chunks +130 lines, -536 lines 0 comments Download
D src/pdf/SkPDFFontImpl.h View 1 chunk +0 lines, -91 lines 0 comments Download
A src/pdf/SkPDFMakeToUnicodeCmap.h View 1 chunk +29 lines, -0 lines 0 comments Download
A src/pdf/SkPDFMakeToUnicodeCmap.cpp View 1 chunk +230 lines, -0 lines 0 comments Download
M tests/PDFGlyphsToUnicodeTest.cpp View 7 chunks +6 lines, -13 lines 0 comments Download

Messages

Total messages: 29 (17 generated)
hal.canary
PTAL
4 years, 4 months ago (2016-08-08 19:55:03 UTC) #5
bungeman-skia
The organization does seem better this way. https://codereview.chromium.org/2221163002/diff/1/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): https://codereview.chromium.org/2221163002/diff/1/src/pdf/SkPDFFont.cpp#newcode66 src/pdf/SkPDFFont.cpp:66: #ifdef SK_DEBUG ...
4 years, 4 months ago (2016-08-09 14:36:43 UTC) #8
hal.canary
https://codereview.chromium.org/2221163002/diff/1/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): https://codereview.chromium.org/2221163002/diff/1/src/pdf/SkPDFFont.cpp#newcode66 src/pdf/SkPDFFont.cpp:66: #ifdef SK_DEBUG On 2016/08/09 14:36:43, bungeman-skia wrote: > It's ...
4 years, 4 months ago (2016-08-09 16:13:38 UTC) #9
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/2221163002/40001
4 years, 4 months ago (2016-08-09 16:14:24 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on master.client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/12323)
4 years, 4 months ago (2016-08-09 16:15:46 UTC) #14
bungeman-skia
https://codereview.chromium.org/2221163002/diff/40001/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): https://codereview.chromium.org/2221163002/diff/40001/src/pdf/SkPDFFont.cpp#newcode918 src/pdf/SkPDFFont.cpp:918: = SkPDFFont::GetFontMetricsWithGlyphNames(this->typeface(), glyphs, glyphsCount); nit: I think usually the ...
4 years, 4 months ago (2016-08-09 16:25:30 UTC) #15
hal.canary
https://codereview.chromium.org/2221163002/diff/40001/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): https://codereview.chromium.org/2221163002/diff/40001/src/pdf/SkPDFFont.cpp#newcode918 src/pdf/SkPDFFont.cpp:918: = SkPDFFont::GetFontMetricsWithGlyphNames(this->typeface(), glyphs, glyphsCount); On 2016/08/09 16:25:29, bungeman-skia wrote: ...
4 years, 4 months ago (2016-08-09 16:33:10 UTC) #16
bungeman-skia
If the bots like it, lgtm too.
4 years, 4 months ago (2016-08-09 16:39:54 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/2221163002/100001
4 years, 4 months ago (2016-08-09 19:24:44 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on master.client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/12347)
4 years, 4 months ago (2016-08-09 19:26:17 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/2221163002/100001
4 years, 4 months ago (2016-08-09 20:03:39 UTC) #27
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 20:04:37 UTC) #29
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://skia.googlesource.com/skia/+/8eccc308c8adcdf26ffc7c4dd538b71f33c6f22b

Powered by Google App Engine
This is Rietveld 408576698