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 .gpos_m2b_left { |
| 16 font-variation-settings: "VM2B" 0; |
| 17 } |
| 18 |
| 19 .gpos_m2b_middle { |
| 20 font-variation-settings: "VM2B" 500; |
| 21 } |
| 22 |
| 23 .gpos_m2b_right { |
| 24 font-variation-settings: "VM2B" 1000; |
| 25 } |
| 26 </style> |
| 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 |
| 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 |
| 31 middle and at the right position. In this ref test we compare whether |
| 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 |
| 34 the right position. The VM2B rendering must be identical to the |
| 35 conventional rendering with the fixed base anchor points. --> |
| 36 <span class="gpos_m2b_left">M̻</span> <span class="gpos_m2b_middle">M�
33B;</span> <span class="gpos_m2b_right">M̻</span> |
OLD | NEW |