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

Unified Diff: LayoutTests/fast/text/webfont-synthetic-bold.html

Issue 135903012: Fix synthetic bold/italic for webfonts on windows (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/skia/FontCustomPlatformDataSkia.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/webfont-synthetic-bold.html
diff --git a/LayoutTests/fast/text/webfont-synthetic-bold.html b/LayoutTests/fast/text/webfont-synthetic-bold.html
new file mode 100644
index 0000000000000000000000000000000000000000..3954828167ed66a3c691ec71d58859428b9fba43
--- /dev/null
+++ b/LayoutTests/fast/text/webfont-synthetic-bold.html
@@ -0,0 +1,27 @@
+<!DOCTYPE>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <link rel="stylesheet" type="text/css" href="resources/text-scaling.css">
+ <style>
+ @font-face {
+ font-family: 'Open Sans';
+ font-style: normal;
+ font-weight: 400;
+ src: url('../../resources/opensans/OpenSans-Regular.woff') format('woff');
+ }
+ body {
+ font-family: 'Open Sans';
+ }
+ </style>
+ </head>
+ <body>
+ <section>
+ <h1>Webfont Synthetic Bold</h1>
+ <p>
+ The <b>bold part of this text</b> as well as the header above should
+ not be rendered nice and crisp without being overly blurry.
+ </p>
+ </section>
+ </body>
+</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/platform/fonts/skia/FontCustomPlatformDataSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698