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

Issue 106133002: refactor emboldenGlyph (Closed)

Created:
7 years ago by zheng.xu
Modified:
7 years ago
Reviewers:
bungeman-skia, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

refactor emboldenGlyph Previously emboldenOutline may happen in SkScalerContext_FreeType_Base and SkScalerContext_FreeType. While emboldenOutline will update the FreeType2 glyph slot. This causes the difficulty to work on some logic that depends on FreeType2 glyph slot. This patch makes SkScalerContext_FreeType to be the only one which embolden the glyphs. BUG=

Patch Set 1 #

Patch Set 2 : rebase and add bench cases for different font styles #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -30 lines) Patch
M bench/FontScalerBench.cpp View 1 4 chunks +47 lines, -9 lines 0 comments Download
M src/ports/SkFontHost_FreeType.cpp View 1 6 chunks +4 lines, -12 lines 0 comments Download
M src/ports/SkFontHost_FreeType_common.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/ports/SkFontHost_FreeType_common.cpp View 1 3 chunks +18 lines, -9 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
zheng.xu
7 years ago (2013-12-05 03:46:08 UTC) #1
reed1
lgtm -- waitiing on bungeman
7 years ago (2013-12-05 13:37:51 UTC) #2
bungeman-skia
I think this is probably a good idea, but I'm hesitant to make changes around ...
7 years ago (2013-12-05 15:38:08 UTC) #3
reed1
7 years ago (2013-12-05 15:57:47 UTC) #4
Makes sense. Lets hold off until then.

Powered by Google App Engine
This is Rietveld 408576698