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

Issue 101423004: refactor emboldenGlyph (Closed)

Created:
7 years ago by zheng.xu
Modified:
6 years, 11 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

This patch makes SkScalerContext_FreeType to be the only one which embolden the glyphs. Add bench cases for different font styles. BUG= Committed: http://code.google.com/p/skia/source/detail?r=12792

Patch Set 1 #

Patch Set 2 : always embolden glyphs when kEmbolden is set. #

Total comments: 8

Patch Set 3 : Remove the bench cases that try to cover the code path which should never be used. Move emboldenIfN… #

Patch Set 4 : rebase to master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -32 lines) Patch
M src/ports/SkFontHost_FreeType.cpp View 1 2 3 9 chunks +27 lines, -14 lines 0 comments Download
M src/ports/SkFontHost_FreeType_common.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M src/ports/SkFontHost_FreeType_common.cpp View 1 2 3 chunks +0 lines, -17 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
zheng.xu
I create a new cl, for the rebasing cause the original one https://codereview.chromium.org/106133002/ difficult to ...
7 years ago (2013-12-13 08:31:29 UTC) #1
bungeman-skia
See https://code.google.com/p/skia/issues/detail?id=1896 . This is the opposite behavior of what we want. We don't care ...
7 years ago (2013-12-13 15:27:21 UTC) #2
zheng.xu
On 2013/12/13 15:27:21, bungeman1 wrote: > See https://code.google.com/p/skia/issues/detail?id=1896 . This is the opposite > behavior ...
7 years ago (2013-12-16 02:55:01 UTC) #3
bungeman-skia
To summarize the following comments: 1. emboldenIfNeeded should just go on SkScalerContext_FreeType (the base doesn't ...
7 years ago (2013-12-16 16:33:36 UTC) #4
bungeman-skia
Correction, it turns out Chromium is defining SK_USE_FREETYPE_EMBOLDEN, though they have a TODO not to ...
7 years ago (2013-12-16 17:12:53 UTC) #5
zheng.xu
https://codereview.chromium.org/101423004/diff/10001/bench/FontScalerBench.cpp File bench/FontScalerBench.cpp (right): https://codereview.chromium.org/101423004/diff/10001/bench/FontScalerBench.cpp#newcode1 bench/FontScalerBench.cpp:1: /* There are GM cases covers different font styles. ...
7 years ago (2013-12-17 10:02:51 UTC) #6
bungeman-skia
lgtm at Patch Set 3.
7 years ago (2013-12-17 15:07:22 UTC) #7
zheng.xu
@bungeman1, Can this be merged? So that I can try to modify https://codereview.chromium.org/103923002/ which depends ...
7 years ago (2013-12-19 12:00:42 UTC) #8
bungeman-skia
On 2013/12/19 12:00:42, zheng.xu wrote: > @bungeman1, Can this be merged? So that I can ...
7 years ago (2013-12-19 14:39:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/zheng.xu@arm.com/101423004/50001
7 years ago (2013-12-20 02:02:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/zheng.xu@arm.com/101423004/50001
7 years ago (2013-12-20 04:39:03 UTC) #11
commit-bot: I haz the power
Change committed as 12792
7 years ago (2013-12-20 04:39:14 UTC) #12
benchen
A revert of this CL has been created in https://codereview.chromium.org/119943002/ by bensong@google.com. The reason for ...
7 years ago (2013-12-20 13:38:09 UTC) #13
bungeman-skia
On 2013/12/20 13:38:09, benchen wrote: > A revert of this CL has been created in ...
7 years ago (2013-12-20 14:59:09 UTC) #14
bungeman-skia
On 2013/12/20 13:38:09, benchen wrote: > A revert of this CL has been created in ...
7 years ago (2013-12-20 14:59:11 UTC) #15
bungeman-skia
On 2013/12/20 13:38:09, benchen wrote: > A revert of this CL has been created in ...
7 years ago (2013-12-20 14:59:12 UTC) #16
robertphillips
6 years, 11 months ago (2014-01-06 14:55:51 UTC) #17
Message was sent while issue was closed.
This was relanded as r12822 (https://codereview.chromium.org/117963003).

Powered by Google App Engine
This is Rietveld 408576698