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

Issue 113093004: [PDF] Fix font width generation when glyph 0 is used. (Closed)

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

Description

[PDF] Fix font width generation when glyph 0 is used. Using glyph 0 caused gid 0 to be in the subset list twice, which violated an assumption in the code. Added an assert for the assumption and updated the code to not insert gid 0 into the subset list twice. BUG=skia:1889 Committed: http://code.google.com/p/skia/source/detail?r=12632

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M src/core/SkAdvancedTypefaceMetrics.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M src/pdf/SkPDFFont.cpp View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
vandebo (ex-Chrome)
7 years ago (2013-12-11 21:42:10 UTC) #1
bungeman-skia
lgtm
7 years ago (2013-12-11 21:54:58 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/vandebo@chromium.org/113093004/1
7 years ago (2013-12-11 23:44:18 UTC) #3
commit-bot: I haz the power
7 years ago (2013-12-11 23:54:36 UTC) #4
Message was sent while issue was closed.
Change committed as 12632

Powered by Google App Engine
This is Rietveld 408576698