Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(640)

Issue 5337044: Add font scaler gm. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by bungeman
Modified:
12 years, 5 months ago
Reviewers:
DerekS, reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Add optimization which also makes change work with free type. #

Total comments: 4

Patch Set 3 : Add images for linux. #

Patch Set 4 : Change default hinting to slight to avoid the ugly. #

Patch Set 5 : New baselines. #

Patch Set 6 : Add hinting to flattened SkPaint. Fixes GM playback mismatch. #

Patch Set 7 : New code reads old format. #

Total comments: 2

Patch Set 8 : Added comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -4 lines) Patch
M gm/base-linux/fontscaler_4444.png View 1 2 3 4 5 Binary file 0 comments Download
M gm/base-linux/fontscaler_565.png View 1 2 3 4 5 Binary file 0 comments Download
M gm/base-linux/fontscaler_8888.png View 1 2 3 4 5 Binary file 0 comments Download
M gm/base-linux/fontscaler_gpu.png View 1 2 3 4 5 Binary file 0 comments Download
M gm/fontscaler.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M gyp/gmslides.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPaint.cpp View 1 2 3 4 5 6 7 2 chunks +16 lines, -2 lines 0 comments Download

Messages

Total messages: 12
bungeman
12 years, 6 months ago (2011-11-03 21:39:12 UTC) #1
reed1
can you upload 1 generated image as part of this initial CL, so I can ...
12 years, 6 months ago (2011-11-04 11:52:38 UTC) #2
bungeman
Added images and fixed nits. http://codereview.appspot.com/5337044/diff/1001/src/ports/SkFontHost_FreeType.cpp File src/ports/SkFontHost_FreeType.cpp (left): http://codereview.appspot.com/5337044/diff/1001/src/ports/SkFontHost_FreeType.cpp#oldcode951 src/ports/SkFontHost_FreeType.cpp:951: On 2011/11/04 11:52:39, reed1 ...
12 years, 6 months ago (2011-11-04 12:12:43 UTC) #3
bungeman
Changed test to use slight hinting instead of normal. We should consider using slight hinting ...
12 years, 6 months ago (2011-11-04 15:27:26 UTC) #4
reed1
LGTM
12 years, 6 months ago (2011-11-04 15:37:48 UTC) #5
bungeman
Committed revision 2603.
12 years, 6 months ago (2011-11-04 15:48:18 UTC) #6
bungeman
Resized to 1450 wide to avoid changes in GPU images. Added hinting enum to flattened ...
12 years, 5 months ago (2011-11-07 14:04:52 UTC) #7
bungeman
With this change the new code can read the old format (without the hinting bits). ...
12 years, 5 months ago (2011-11-07 14:50:20 UTC) #8
DerekS
http://codereview.appspot.com/5337044/diff/23001/src/core/SkPaint.cpp File src/core/SkPaint.cpp (right): http://codereview.appspot.com/5337044/diff/23001/src/core/SkPaint.cpp#newcode1572 src/core/SkPaint.cpp:1572: *ptr++ = (this->getFlags() << 16) | ((this->getHinting()+1) << 12) ...
12 years, 5 months ago (2011-11-07 15:13:01 UTC) #9
bungeman
http://codereview.appspot.com/5337044/diff/23001/src/core/SkPaint.cpp File src/core/SkPaint.cpp (right): http://codereview.appspot.com/5337044/diff/23001/src/core/SkPaint.cpp#newcode1572 src/core/SkPaint.cpp:1572: *ptr++ = (this->getFlags() << 16) | ((this->getHinting()+1) << 12) ...
12 years, 5 months ago (2011-11-07 15:34:09 UTC) #10
DerekS
LGTM
12 years, 5 months ago (2011-11-07 15:45:23 UTC) #11
bungeman
12 years, 5 months ago (2011-11-07 16:48:47 UTC) #12
Committed revision 2619.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b