|
|
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).
Total comments: 11
Total comments: 9
|
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
|
Total messages: 6
|