| OLD | NEW |
| (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> |
| OLD | NEW |