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

Issue 91088: Add subpixel text.

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 11 months ago by agl
Modified:
16 years, 11 months ago
Reviewers:
reed
Visibility:
Public.

Description

Add subpixel text. For the moment, this only supports horizontal subpixel renderering. It also splits apart the idea of subpixel positioning and subpixel rendering. In the near future, I'm looking to support the full range of GTK options. So the SubpixelGlyphs flag will turn into two calls: one to set the hinting level (none, light, normal, full) and one to set the anti-aliasing level (mono, aa and subpixel).

Patch Set 1 #

Total comments: 11

Patch Set 2 : ... #

Patch Set 3 : ... #

Patch Set 4 : ... #

Patch Set 5 : ... #

Patch Set 6 : ... #

Total comments: 9

Patch Set 7 : ... #

Patch Set 8 : ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+686 lines, -87 lines) Patch
M include/core/SkFontHost.h View 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
M include/core/SkMask.h View 2 3 4 2 chunks +43 lines, -3 lines 0 comments Download
M include/core/SkPaint.h View 1 2 3 4 5 6 7 4 chunks +49 lines, -7 lines 0 comments Download
M include/core/SkScalerContext.h View 1 2 3 4 5 6 1 chunk +21 lines, -8 lines 0 comments Download
M src/core/SkBlitter_ARGB32.cpp View 1 2 3 4 5 4 chunks +93 lines, -9 lines 0 comments Download
A src/core/SkBlitter_ARGB32_Subpixel.cpp View 5 1 chunk +102 lines, -0 lines 0 comments Download
A src/core/SkFontHost.cpp View 5 6 1 chunk +45 lines, -0 lines 0 comments Download
M src/core/SkPaint.cpp View 1 2 3 4 5 6 4 chunks +18 lines, -14 lines 0 comments Download
M src/core/SkScalerContext.cpp View 1 2 3 4 6 chunks +61 lines, -5 lines 0 comments Download
M src/ports/SkFontHost_FreeType.cpp View 1 2 3 4 5 6 7 17 chunks +79 lines, -41 lines 0 comments Download
A src/ports/SkFontHost_FreeType_Subpixel.cpp View 5 6 1 chunk +143 lines, -0 lines 0 comments Download

Messages

Total messages: 6
agl
16 years, 11 months ago (2009-07-09 00:40:30 UTC) #1
reed
Very excited to see this effort begun. 1) What are the other changes that will ...
16 years, 11 months ago (2009-07-09 16:57:22 UTC) #2
agl
(partial reply. Other points addressed via email) http://codereview.appspot.com/91088/diff/1/2 File include/core/SkBitmap.h (left): http://codereview.appspot.com/91088/diff/1/2#oldcode47 Line 47: kA8_Config, ...
16 years, 11 months ago (2009-07-09 18:00:42 UTC) #3
agl
Have updated with discussed design. At the moment, non-opaque text falls back to the A8 ...
16 years, 11 months ago (2009-07-14 20:00:56 UTC) #4
reed
http://codereview.appspot.com/91088/diff/3012/2005 File include/core/SkFontHost.h (right): http://codereview.appspot.com/91088/diff/3012/2005#newcode204 Line 204: Capitalize these, since they are static methods (see ...
16 years, 11 months ago (2009-07-17 19:46:39 UTC) #5
reed
16 years, 11 months ago (2009-07-21 02:09:15 UTC) #6
LGTM

I think there are more internal changes I would like to try, but I think the
public API part (esp. SkPaint.h) looks good, so I suggest we submit it, and then
we can refine it in place.
Sign in to reply to this message.

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