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

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

Issue 2858573002: Use FreeType for OpenType Variations on CoreText < 10.12 (Closed)
Patch Set: Use FreeType for OpenType Variations on CoreText < 10.12 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset="utf-8"> 2 <meta charset="utf-8">
3 <style> 3 <style>
4 @font-face { 4 @font-face {
5 font-family: variabletest_box; 5 font-family: variabletest_box;
6 src: url(../../../http/tests/resources/variabletest_box.ttf); 6 src: url(../../../http/tests/resources/variabletest_box.ttf);
7 } 7 }
8 8
9 body { 9 body {
10 font-family: variabletest_box, sans-serif; 10 font-family: variabletest_box, sans-serif;
(...skipping 10 matching lines...) Expand all
21 } 21 }
22 22
23 .gpos_m2b_right { 23 .gpos_m2b_right {
24 font-variation-settings: "VM2B" 1000; 24 font-variation-settings: "VM2B" 1000;
25 } 25 }
26 </style> 26 </style>
27 <!-- The variabletest_box font has an M glyph saying "m2b pos" that combines 27 <!-- The variabletest_box font has an M glyph saying "m2b pos" that combines
28 with the combining box below. And it has a glyph for combining box below 28 with the combining box below. And it has a glyph for combining box below
29 whose mark anchor can be shifted horizontally using the VM2B axis. The font 29 whose mark anchor can be shifted horizontally using the VM2B axis. The font
30 also has N and O glyphs which have fixed shifted base anchor points at the 30 also has N and O glyphs which have fixed shifted base anchor points at the
31 middle and at the right position. In this ref test we compare whether 31 middle and at the right position. In this ref test we check whether
32 applying the VM2B axis works as expected and shifts the mark anchor point 32 applying the VM2B axis works as expected and shifts the mark anchor point
33 left so that the combining mark is placed correctly at the middle and at 33 left so that the combining mark is placed correctly at the middle and at
34 the right position. The VM2B rendering must be identical to the 34 the right position. The VM2B rendering must be identical to the
35 conventional rendering with the fixed base anchor points. --> 35 conventional rendering with the fixed base anchor points. -->
36 <span class="gpos_m2b_left">M&#x033B;</span> <span class="gpos_m2b_middle">M&#x0 33B;</span> <span class="gpos_m2b_right">M&#x033B;</span> 36 <span class="gpos_m2b_left">M&#x033B;</span> <span class="gpos_m2b_middle">M&#x0 33B;</span> <span class="gpos_m2b_right">M&#x033B;</span>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698