|
Enable experimental support for sub-pixel font scaling
Enable sub-css-pixel font scaling as an experimental web feature.
This would allow for things like font-size: 12.5px which would map to
25 device pixels on a high dpi display or when zoomed in.
It also allows for smoother text scaling and consistent sizing across
zoom levels.
R=dglazkov@chromium.org
BUG= 290411
TEST=fast/text/sub-pixel/text-scaling*
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162893
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+686 lines, -24 lines) |
Patch |
|
M |
LayoutTests/TestExpectations
|
View
|
1
|
6 chunks |
+353 lines, -5 lines |
0 comments
|
Download
|
|
M |
LayoutTests/css3/zoom-coords.xhtml
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/box-decoration-break/box-decoration-break-rendering.html
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/box-decoration-break/box-decoration-break-rendering-expected.html
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/css-generated-content/after-with-inline-continuation.html
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/css-generated-content/after-with-inline-continuation-expected.html
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/text-autosizing/clusters-insufficient-text.html
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/text-autosizing/clusters-insufficient-text-expected.html
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/text-autosizing/clusters-sufficient-text-except-in-root.html
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/text-autosizing/clusters-sufficient-text-except-in-root-expected.html
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/text-autosizing/clusters-sufficient-width.html
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/text-autosizing/clusters-sufficient-width-expected.html
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
LayoutTests/fast/text/sub-pixel/resources/text-scaling.css
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/text/sub-pixel/resources/text-scaling.js
|
View
|
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/text/sub-pixel/text-scaling-ltr.html
|
View
|
1
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/text/sub-pixel/text-scaling-ltr-expected.txt
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/text/sub-pixel/text-scaling-pixel.html
|
View
|
1
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/text/sub-pixel/text-scaling-rtl.html
|
View
|
1
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/text/sub-pixel/text-scaling-rtl-expected.txt
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/text/sub-pixel/text-scaling-vertical.html
|
View
|
1
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/text/sub-pixel/text-scaling-vertical-expected.txt
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/platform/graphics/FontFastPath.cpp
|
View
|
1
|
2 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp
|
View
|
1
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/platform/graphics/win/FontPlatformDataWin.cpp
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/rendering/LineWidth.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/platform/RuntimeEnabledFeatures.in
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|