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

Issue 2219733004: SkPDF: Stop using kHAdvance_PerGlyphInfo (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: Stop using kHAdvance_PerGlyphInfo SkPDFFont: - never request kHAdvance_PerGlyphInfo from typeface. - set_glyph_widths() fn uses a glyph cache to get advances. - stop expecting vertical advances that are never requested. - composeAdvanceData() now non-templated - appendAdvance() one-line function removed SkPDFDevice: - use a glyph cache for getting repeated advances. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2219733004 Committed: https://skia.googlesource.com/skia/+/462d0148a5c9433a1f9c26d947a07ca7f70cf09d

Patch Set 1 #

Total comments: 2

Patch Set 2 : 2016-08-05 (Friday) 15:41:17 EDT #

Total comments: 1

Patch Set 3 : 2016-08-05 (Friday) 16:11:24 EDT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -114 lines) Patch
M src/core/SkAdvancedTypefaceMetrics.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/pdf/SkPDFDevice.cpp View 3 chunks +2 lines, -2 lines 0 comments Download
M src/pdf/SkPDFFont.cpp View 1 2 8 chunks +81 lines, -111 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
hal.canary
PTAL
4 years, 4 months ago (2016-08-05 18:54:41 UTC) #5
bungeman-skia
https://codereview.chromium.org/2219733004/diff/1/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/2219733004/diff/1/src/pdf/SkPDFDevice.cpp#newcode1284 src/pdf/SkPDFDevice.cpp:1284: SkScalar advanceWidth = autoGlyphCache->getGlyphIDAdvance(encodedValue).fAdvanceX; Is there a reason to ...
4 years, 4 months ago (2016-08-05 19:08:01 UTC) #8
hal.canary
https://codereview.chromium.org/2219733004/diff/1/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/2219733004/diff/1/src/pdf/SkPDFDevice.cpp#newcode1284 src/pdf/SkPDFDevice.cpp:1284: SkScalar advanceWidth = autoGlyphCache->getGlyphIDAdvance(encodedValue).fAdvanceX; On 2016/08/05 19:08:01, bungeman-skia wrote: ...
4 years, 4 months ago (2016-08-05 19:42:37 UTC) #9
bungeman-skia
lgtm with nit https://codereview.chromium.org/2219733004/diff/20001/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): https://codereview.chromium.org/2219733004/diff/20001/src/pdf/SkPDFFont.cpp#newcode1068 src/pdf/SkPDFFont.cpp:1068: // Generate glyph id array. nit: ...
4 years, 4 months ago (2016-08-05 20:09:54 UTC) #14
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/2219733004/40001
4 years, 4 months ago (2016-08-05 20:11:40 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 20:51:50 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/462d0148a5c9433a1f9c26d947a07ca7f70cf09d

Powered by Google App Engine
This is Rietveld 408576698