blob: c39cce33a6c419865e4e2284fb64079cae4e0d84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<!DOCTYPE html>
<html class="reftest-wait">
<link rel="match" href="variable-gpos-m2b-ref.html">
<meta charset="utf-8">
<style>
@font-face {
font-family: variabletest_box;
src: url(resources/variabletest_box.ttf);
}
body {
font-family: variabletest_box, sans-serif;
sans-serif;
font-size: 100px;
}
.gpos_m2b_left {
font-variation-settings: "VM2B" 0;
}
.gpos_m2b_middle {
font-variation-settings: "VM2B" 500;
}
.gpos_m2b_right {
font-variation-settings: "VM2B" 1000;
}
</style>
<!-- The variabletest_box font has an M glyph saying "m2b pos" that combines
with the combining box below. And it has a glyph for combining box below
whose mark anchor can be shifted horizontally using the VM2B axis. The font
also has N and O glyphs which have fixed shifted base anchor points at the
middle and at the right position. In this reftest we check whether
applying the VM2B axis works as expected and shifts the mark anchor point
left so that the combining mark is placed correctly at the middle and at
the right position. The VM2B rendering must be identical to the
conventional rendering with the fixed base anchor points. -->
<span class="gpos_m2b_left">M̻</span>
<span class="gpos_m2b_middle">M̻</span>
<span class="gpos_m2b_right">M̻</span>
<script>
document.fonts.ready.then(
() => { document.documentElement.classList.remove("reftest-wait"); });
</script>
</html>
|