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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/text/variable-fonts/variable-gsub.html

Issue 2845953002: Test OpenType rvrn Required Variation Alternates (Closed)
Patch Set: Created 3 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <meta charset="utf-8">
3 <style>
4 @font-face {
5 font-family: variabletest_box;
6 src: url(../../../http/tests/resources/variabletest_box.ttf);
7 }
8
9 body {
10 font-family: variabletest_box, sans-serif;
11 sans-serif;
12 font-size: 100px;
13 }
14
15 .rvrn_replaced {
16 font-variation-settings: "fvtt" 10;
17 }
18 </style>
19 <!-- The variabletest_box font has an r glyph that says "rvrn base" and has
20 this as a name as well. And it has a glyph for R that says "rvrn subst"
21 where rvrn stands for the required Required Variation Alternates
22 feature. The font has an 'fvtt' axis ranging from 0 to 10, where it uses
23 a single substitution glyph lookup table for axis values starting from
24 5, which then replaces the rvrn_base glyph with the rvrn_subst
25 glyph. So in this reftest the substituted glyph for lowercase r
26 should visually match the uppercase R glyph, both show "rvrn subst". -->
27 r <span class="rvrn_replaced">r</span>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698