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

Unified Diff: LayoutTests/fast/text/complex-path-with-no-subpixel-fonts.html

Issue 1316843005: Round glyph width and bounds if !SkPaint.isSubpixelText() in complex path (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: eae nits Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/platform/fonts/shaping/HarfBuzzFace.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/complex-path-with-no-subpixel-fonts.html
diff --git a/LayoutTests/fast/text/complex-path-with-no-subpixel-fonts.html b/LayoutTests/fast/text/complex-path-with-no-subpixel-fonts.html
new file mode 100644
index 0000000000000000000000000000000000000000..eeca3d6e925277a0e3dce63a54f29741d9443974
--- /dev/null
+++ b/LayoutTests/fast/text/complex-path-with-no-subpixel-fonts.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<style>
+div {
+ font-family:Tahoma;
+ font-size:14px;
+}
+.complex {
+ text-rendering:optimizeLegibility;
+}
+</style>
+<p>All lines should look the same.
+<p>This test is intentionally a pixel test, see crbug.com/452914.
+<div class=complex>!!!!!!!!!!!!!!<br>!!!!!!!!!!!!!!<br>!!!!!!!!!!!!!!<br>!!!!!!!!!!!!!!</div>
+<div>!!!!!!!!!!!!!!<br>!!!!!!!!!!!!!!<br>!!!!!!!!!!!!!!<br>!!!!!!!!!!!!!!</div>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/platform/fonts/shaping/HarfBuzzFace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698