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 18886005: [PDF] Use SkTypeface::countGlyphs instead of getAdvancedTypefaceMetrics (Closed)

Created:
7 years, 5 months ago by vandebo (ex-Chrome)
Modified:
7 years, 5 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

[PDF] Use SkTypeface::countGlyphs instead of getAdvancedTypefaceMetrics BUG=1088 Committed: http://code.google.com/p/skia/source/detail?r=10063

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix off by 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -12 lines) Patch
M src/pdf/SkPDFDevice.cpp View 1 1 chunk +1 line, -12 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
vandebo (ex-Chrome)
7 years, 5 months ago (2013-07-12 19:27:22 UTC) #1
bungeman-skia
https://codereview.chromium.org/18886005/diff/1/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/18886005/diff/1/src/pdf/SkPDFDevice.cpp#newcode108 src/pdf/SkPDFDevice.cpp:108: return typeface->countGlyphs() + 1; did you mean -1? If ...
7 years, 5 months ago (2013-07-12 19:30:41 UTC) #2
vandebo (ex-Chrome)
https://codereview.chromium.org/18886005/diff/1/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): https://codereview.chromium.org/18886005/diff/1/src/pdf/SkPDFDevice.cpp#newcode108 src/pdf/SkPDFDevice.cpp:108: return typeface->countGlyphs() + 1; On 2013/07/12 19:30:41, bungeman1 wrote: ...
7 years, 5 months ago (2013-07-12 19:34:08 UTC) #3
bungeman-skia
lgtm at Patch Set 2.
7 years, 5 months ago (2013-07-12 19:38:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/vandebo@chromium.org/18886005/5001
7 years, 5 months ago (2013-07-12 20:37:23 UTC) #5
commit-bot: I haz the power
Change committed as 10063
7 years, 5 months ago (2013-07-13 17:24:31 UTC) #6
robertphillips
onCountGlyphs isn't implemented on Windows so this CL was causing crashes (http://108.170.217.252:10117/builders/Test-Win7-ShuttleA-HD2000-x86-Debug/builds/326/steps/RenderPdfs/logs/stdio). It was reverted ...
7 years, 5 months ago (2013-07-13 18:34:26 UTC) #7
reed1
Dang. Have we fixed this now (i.e. implemented this for windows?)
7 years, 5 months ago (2013-07-17 19:43:20 UTC) #8
vandebo (ex-Chrome)
7 years, 5 months ago (2013-07-17 19:51:07 UTC) #9
Message was sent while issue was closed.
On 2013/07/17 19:43:20, reed1 wrote:
> Dang. Have we fixed this now (i.e. implemented this for windows?)

I think so, I just resubmitted the CL for review.

Powered by Google App Engine
This is Rietveld 408576698