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

Issue 1401763002: SkPDF: fall back on paths for unembeddable fonts. (Closed)

Created:
5 years, 2 months ago by hal.canary
Modified:
5 years, 2 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: fall back on paths for unembeddable fonts. Add GM, SkPDFFont::CanEmbedTypeface BUG=skia:3866 Committed: https://skia.googlesource.com/skia/+/66a82f3872abf4ebb98b3915b2a9ecc73ad352c5

Patch Set 1 #

Total comments: 2

Patch Set 2 : move fonts, no infinite loop #

Total comments: 4

Patch Set 3 : 2015-10-12 (Monday) 15:47:41 EDT #

Patch Set 4 : 2015-10-12 (Monday) 15:54:45 EDT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -13 lines) Patch
A gm/pdf_never_embed.cpp View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
A resources/fonts/Roboto2-Regular_NoEmbed.ttf View 1 Binary file 0 comments Download
M src/pdf/SkPDFCanon.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/pdf/SkPDFDevice.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 chunks +72 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 3 chunks +26 lines, -11 lines 0 comments Download
M tests/PDFPrimitivesTest.cpp View 1 2 4 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
hal.canary
PTAL
5 years, 2 months ago (2015-10-12 18:24:57 UTC) #2
hal.canary
On 2015/10/12 18:24:57, Hal Canary wrote: > PTAL Se also https://codereview.chromium.org/1157163007
5 years, 2 months ago (2015-10-12 18:25:47 UTC) #3
bungeman-skia
How big is this roboto file? Should we at least sub-set it? https://codereview.chromium.org/1401763002/diff/1/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp ...
5 years, 2 months ago (2015-10-12 19:05:29 UTC) #4
hal.canary
https://codereview.chromium.org/1401763002/diff/1/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/1401763002/diff/1/src/pdf/SkPDFDevice.cpp#newcode1242 src/pdf/SkPDFDevice.cpp:1242: SkASSERT(SkPDFFont::CanEmbedTypeface(transparent.getTypeface(), On 2015/10/12 19:05:29, bungeman1 wrote: > I'm not ...
5 years, 2 months ago (2015-10-12 19:10:25 UTC) #5
hal.canary
On 2015/10/12 19:05:29, bungeman1 wrote: > How big is this roboto file? Should we at ...
5 years, 2 months ago (2015-10-12 19:20:14 UTC) #6
hal.canary
On 2015/10/12 19:10:25, Hal Canary wrote: > https://codereview.chromium.org/1401763002/diff/1/src/pdf/SkPDFDevice.cpp > File src/pdf/SkPDFDevice.cpp (right): > > https://codereview.chromium.org/1401763002/diff/1/src/pdf/SkPDFDevice.cpp#newcode1242 ...
5 years, 2 months ago (2015-10-12 19:24:31 UTC) #7
bungeman-skia
https://codereview.chromium.org/1401763002/diff/20001/gm/pdf_never_embed.cpp File gm/pdf_never_embed.cpp (right): https://codereview.chromium.org/1401763002/diff/20001/gm/pdf_never_embed.cpp#newcode31 gm/pdf_never_embed.cpp:31: SkDebugf("Missing resource: %s", resource); GetResourceAsTypeface will already print SkDebugf("Resource ...
5 years, 2 months ago (2015-10-12 19:26:30 UTC) #8
hal.canary
https://codereview.chromium.org/1401763002/diff/20001/gm/pdf_never_embed.cpp File gm/pdf_never_embed.cpp (right): https://codereview.chromium.org/1401763002/diff/20001/gm/pdf_never_embed.cpp#newcode31 gm/pdf_never_embed.cpp:31: SkDebugf("Missing resource: %s", resource); On 2015/10/12 19:26:30, bungeman1 wrote: ...
5 years, 2 months ago (2015-10-12 19:48:24 UTC) #9
bungeman-skia
lgtm
5 years, 2 months ago (2015-10-12 19:50:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1401763002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1401763002/40001
5 years, 2 months ago (2015-10-12 19:51:20 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot/builds/3590) Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, ...
5 years, 2 months ago (2015-10-12 19:52:15 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1401763002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1401763002/60001
5 years, 2 months ago (2015-10-12 19:55:18 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1401763002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1401763002/60001
5 years, 2 months ago (2015-10-12 20:04:28 UTC) #20
commit-bot: I haz the power
5 years, 2 months ago (2015-10-12 20:05:10 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/66a82f3872abf4ebb98b3915b2a9ecc73ad352c5

Powered by Google App Engine
This is Rietveld 408576698