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

Issue 114773004: Provide last resort for fCapHeight in SkFontHost_FreeType::onGetAdvancedTypefaceMetrics. (Closed)

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

Description

Provide last resort for fCapHeight in SkFontHost_FreeType::onGetAdvancedTypefaceMetrics. This was a pre-existing issue, but r12689 uncovered it in more cases. Since there was no last resort, fonts without a cap height used uninitialized data as their cap height here. R=robertphillips@google.com Committed: https://code.google.com/p/skia/source/detail?r=12779

Patch Set 1 #

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

Messages

Total messages: 3 (0 generated)
bungeman-skia
This was discovered by valgrind on the bots.
7 years ago (2013-12-19 19:23:09 UTC) #1
robertphillips
lgtm
7 years ago (2013-12-19 19:31:12 UTC) #2
bungeman-skia
7 years ago (2013-12-19 19:34:25 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r12779 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698