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

Issue 107863002: [PDF] Fix font embedding restrictions. (Closed)

Created:
7 years ago by vandebo (ex-Chrome)
Modified:
7 years ago
Reviewers:
bungeman-skia, reed1
CC:
skia-review_googlegroups.com, gene
Visibility:
Public.

Description

[PDF] Fix font embedding restrictions. Stop using restricted font outlines and honor don't subset restriction. Committed: http://code.google.com/p/skia/source/detail?r=12600

Patch Set 1 #

Total comments: 5

Patch Set 2 : Comments #

Total comments: 5

Patch Set 3 : More comments #

Patch Set 4 : Fix Mac #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -65 lines) Patch
M gyp/core.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkAdvancedTypefaceMetrics.h View 1 1 chunk +11 lines, -5 lines 0 comments Download
M include/pdf/SkPDFDocument.h View 1 chunk +9 lines, -1 line 0 comments Download
M src/core/SkTypeface.cpp View 1 2 2 chunks +22 lines, -1 line 0 comments Download
M src/pdf/SkPDFDocument.cpp View 2 chunks +44 lines, -2 lines 0 comments Download
M src/pdf/SkPDFFont.h View 3 chunks +9 lines, -4 lines 0 comments Download
M src/pdf/SkPDFFont.cpp View 1 9 chunks +62 lines, -23 lines 0 comments Download
M src/ports/SkFontHost_FreeType.cpp View 1 4 chunks +30 lines, -6 lines 0 comments Download
M src/ports/SkFontHost_mac.cpp View 1 2 3 2 chunks +3 lines, -7 lines 0 comments Download
M src/ports/SkFontHost_win.cpp View 1 2 chunks +10 lines, -8 lines 1 comment Download
M src/ports/SkFontHost_win_dw.cpp View 1 2 3 2 chunks +2 lines, -8 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
vandebo (ex-Chrome)
https://codereview.chromium.org/107863002/diff/1/src/pdf/SkPDFDocument.cpp File src/pdf/SkPDFDocument.cpp (right): https://codereview.chromium.org/107863002/diff/1/src/pdf/SkPDFDocument.cpp#newcode261 src/pdf/SkPDFDocument.cpp:261: // Deprecated. Deprecated just long enough to make the ...
7 years ago (2013-12-06 05:52:41 UTC) #1
vandebo (ex-Chrome)
7 years ago (2013-12-06 05:52:55 UTC) #2
reed1
https://codereview.chromium.org/107863002/diff/1/include/core/SkAdvancedTypefaceMetrics.h File include/core/SkAdvancedTypefaceMetrics.h (right): https://codereview.chromium.org/107863002/diff/1/include/core/SkAdvancedTypefaceMetrics.h#newcode45 include/core/SkAdvancedTypefaceMetrics.h:45: kEmpty_Flag = 0x0, //!<No flags set General skia convention ...
7 years ago (2013-12-06 14:22:10 UTC) #3
vandebo (ex-Chrome)
https://codereview.chromium.org/107863002/diff/1/include/core/SkAdvancedTypefaceMetrics.h File include/core/SkAdvancedTypefaceMetrics.h (right): https://codereview.chromium.org/107863002/diff/1/include/core/SkAdvancedTypefaceMetrics.h#newcode45 include/core/SkAdvancedTypefaceMetrics.h:45: kEmpty_Flag = 0x0, //!<No flags set On 2013/12/06 14:22:10, ...
7 years ago (2013-12-09 17:56:05 UTC) #4
reed1
lgtm -- handing off to bungeman
7 years ago (2013-12-09 17:59:25 UTC) #5
bungeman-skia
https://codereview.chromium.org/107863002/diff/20001/src/core/SkTypeface.cpp File src/core/SkTypeface.cpp (right): https://codereview.chromium.org/107863002/diff/20001/src/core/SkTypeface.cpp#newcode266 src/core/SkTypeface.cpp:266: if (result && result->fType == SkAdvancedTypefaceMetrics::kTrueType_Font) { It seems ...
7 years ago (2013-12-09 18:32:59 UTC) #6
vandebo (ex-Chrome)
https://codereview.chromium.org/107863002/diff/20001/src/core/SkTypeface.cpp File src/core/SkTypeface.cpp (right): https://codereview.chromium.org/107863002/diff/20001/src/core/SkTypeface.cpp#newcode266 src/core/SkTypeface.cpp:266: if (result && result->fType == SkAdvancedTypefaceMetrics::kTrueType_Font) { On 2013/12/09 ...
7 years ago (2013-12-09 18:42:58 UTC) #7
bungeman-skia
lgtm https://codereview.chromium.org/107863002/diff/20001/src/core/SkTypeface.cpp File src/core/SkTypeface.cpp (right): https://codereview.chromium.org/107863002/diff/20001/src/core/SkTypeface.cpp#newcode266 src/core/SkTypeface.cpp:266: if (result && result->fType == SkAdvancedTypefaceMetrics::kTrueType_Font) { On ...
7 years ago (2013-12-09 18:46:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/vandebo@chromium.org/107863002/40001
7 years ago (2013-12-10 16:03:28 UTC) #9
commit-bot: I haz the power
Retried try job too often on Build-Mac10.7-Clang-x86-Release-Trybot for step(s) BuildSkiaLib, BuildTests http://skiabot-master.pogerlabs.com:10117/buildstatus?builder=Build-Mac10.7-Clang-x86-Release-Trybot&number=1133
7 years ago (2013-12-10 16:16:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/vandebo@chromium.org/107863002/60001
7 years ago (2013-12-10 16:23:54 UTC) #11
commit-bot: I haz the power
Change committed as 12600
7 years ago (2013-12-10 16:32:13 UTC) #12
bungeman-skia
https://codereview.chromium.org/107863002/diff/60001/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): https://codereview.chromium.org/107863002/diff/60001/src/ports/SkFontHost_win.cpp#newcode1864 src/ports/SkFontHost_win.cpp:1864: SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag) Looks like there's a missing ';' here.
7 years ago (2013-12-10 16:43:50 UTC) #13
vandebo (ex-Chrome)
7 years ago (2013-12-10 16:48:36 UTC) #14
Message was sent while issue was closed.
On 2013/12/10 16:43:50, bungeman1 wrote:
>
https://codereview.chromium.org/107863002/diff/60001/src/ports/SkFontHost_win...
> File src/ports/SkFontHost_win.cpp (right):
> 
>
https://codereview.chromium.org/107863002/diff/60001/src/ports/SkFontHost_win...
> src/ports/SkFontHost_win.cpp:1864:
> SkAdvancedTypefaceMetrics::kNotEmbeddable_FontFlag)
> Looks like there's a missing ';' here.

Oops, fixed. No windows compile bot in the CQ?

Powered by Google App Engine
This is Rietveld 408576698