Variable fonts
OpenType font settings that allows a single font file to behave like multiple fonts: it can contain all the allowed variations in width, weight, slant, optical size, or any other exposed axes of variation as defined by the font designer. Variations can be applied via the font-variation-settings
property.
Spec | https://drafts.csswg.org/css-fonts-4/#font-variation-settings-def |
---|---|
Status | W3C Working Draft |
IE | Edge | Firefox | Chrome | Safari | Opera |
---|---|---|---|---|---|
98 | |||||
95 (3,7) | 97 | ||||
94 (3,7) | 96 | TP | |||
11 | 95 | 93 (3,7) | 95 | 15 | 80 |
10 | 94 | 92 (3,7) | 94 | 14.1 (7) | 79 |
9 | 93 | 91 (3,7) | 93 | 14 (7) | 78 |
8 | 92 | 90 (3,7) | 92 | 13.1 (7) | 77 |
Show all | |||||
7 | 91 | 89 (3,7) | 91 | 13 (7) | 76 |
6 | 90 | 88 (3,7) | 90 | 12.1 (3,6) | 75 |
5.5 | 89 | 87 (3,7) | 89 | 12 (3,6) | 74 |
88 | 86 (3,7) | 88 | 11.1 (3,6) | 73 | |
87 | 85 (3,7) | 87 | 11 (3,6) | 72 | |
86 | 84 (3,7) | 86 | 10.1 | 71 | |
85 | 83 (3,7) | 85 | 10 | 70 | |
84 | 82 (3,7) | 84 | 9.1 | 69 | |
83 | 81 (3,7) | 83 | 9 | 68 | |
81 | 80 (3,7) | 81 | 8 | 67 | |
80 | 79 (3,7) | 80 | 7.1 | 66 | |
79 | 78 (3,7) | 79 | 7 | 65 | |
18 | 77 (3,7) | 78 | 6.1 | 64 | |
17 | 76 (3,7) | 77 | 6 | 63 | |
16 | 75 (3,7) | 76 | 5.1 | 62 | |
15 | 74 (3,7) | 75 | 5 | 60 | |
14 | 73 (3,7) | 74 | 4 | 58 | |
13 | 72 (3,7) | 73 | 3.2 | 57 | |
12 | 71 (3,7) | 72 | 3.1 | 56 | |
70 (3,6) | 71 | 55 | |||
69 (3,6) | 70 | 54 | |||
68 (3,6) | 69 | 53 (6) | |||
67 (3,6) | 68 | 52 (5,6) | |||
66 (3,6) | 67 | 51 (5,6) | |||
65 (3,6) | 66 (6) | 50 (5,6) | |||
64 (3,6) | 65 (5,6) | 49 (5,6) | |||
63 (3,6) | 64 (5,6) | 48 | |||
62 (3,6) | 63 (5,6) | 47 | |||
61 (3,6) | 62 (5,6) | 46 | |||
60 (3,4,6) | 61 (1,6) | 45 | |||
59 (3,4,5,6) | 60 (1,6) | 44 | |||
58 (3,4,5,6) | 59 (1,6) | 43 | |||
57 (2,4,5,6) | 58 | 42 | |||
56 (2,4,5,6) | 57 | 41 | |||
55 (2,4,5,6) | 56 | 40 | |||
54 (2,4,5,6) | 55 | 39 | |||
53 (2,4,5,6) | 54 | 38 | |||
52 | 53 | 37 | |||
51 | 52 | 36 | |||
50 | 51 | 35 | |||
49 | 50 | 34 | |||
48 | 49 | 33 | |||
47 | 48 | 32 | |||
46 | 47 | 31 | |||
45 | 46 | 30 | |||
44 | 45 | 29 | |||
43 | 44 | 28 | |||
42 | 43 | 27 | |||
41 | 42 | 26 | |||
40 | 41 | 25 | |||
39 | 40 | 24 | |||
38 | 39 | 23 | |||
37 | 38 | 22 | |||
36 | 37 | 21 | |||
35 | 36 | 20 | |||
34 | 35 | 19 | |||
33 | 34 | 18 | |||
32 | 33 | 17 | |||
31 | 32 | 16 | |||
30 | 31 | 15 | |||
29 | 30 | 12.1 | |||
28 | 29 | 12 | |||
27 | 28 | 11.6 | |||
26 | 27 | 11.5 | |||
25 | 26 | 11.1 | |||
24 | 25 | 11 | |||
23 | 24 | 10.6 | |||
22 | 23 | 10.5 | |||
21 | 22 | 10.0-10.1 | |||
20 | 21 | 9.5-9.6 | |||
19 | 20 | 9 | |||
18 | 19 | ||||
17 | 18 | ||||
16 | 17 | ||||
15 | 16 | ||||
14 | 15 | ||||
13 | 14 | ||||
12 | 13 | ||||
11 | 12 | ||||
10 | 11 | ||||
9 | 10 | ||||
8 | 9 | ||||
7 | 8 | ||||
6 | 7 | ||||
5 | 6 | ||||
4 | 5 | ||||
3.6 | 4 | ||||
3.5 | |||||
3 | |||||
2 |
Safari on iOS | Opera Mini | Android Browser | Blackberry Browser | Opera Mobile | Android Chrome | Android Firefox | IE Mobile | Android UC Browser | Samsung Internet | QQ Browser | Baidu Browser | KaiOS Browser |
---|---|---|---|---|---|---|---|---|---|---|---|---|
15 | all | 94 | 10 | 64 | 94 | 92 (6) | 11 | 12.12 | 15.0 (6) | 10.4 (6) | 7.12 | 2.5 |
14.5-14.8 | 4.4.3-4.4.4 | 7 | 12.1 | 10 | 14.0 (6) | |||||||
14.0-14.4 | 4.4 | 12 | 13.0 (6) | |||||||||
13.4-13.7 | 4.2-4.3 | 11.5 | 12.0 (6) | |||||||||
Show all | ||||||||||||
13.3 | 4.1 | 11.1 | 11.1-11.2 (6) | |||||||||
13.2 | 4 | 11 | 10.1 (6) | |||||||||
13.0-13.1 | 3 | 10 | 9.2 (6) | |||||||||
12.2-12.5 (6) | 2.3 | 8.2 (6) | ||||||||||
12.0-12.1 (6) | 2.2 | 7.2-7.4 | ||||||||||
11.3-11.4 (6) | 2.1 | 6.2-6.4 | ||||||||||
11.0-11.2 (6) | 5.0-5.4 | |||||||||||
10.3 | 4 | |||||||||||
10.0-10.2 | ||||||||||||
9.3 | ||||||||||||
9.0-9.2 | ||||||||||||
8.1-8.4 | ||||||||||||
8 | ||||||||||||
7.0-7.1 | ||||||||||||
6.0-6.1 | ||||||||||||
5.0-5.1 | ||||||||||||
4.2-4.3 | ||||||||||||
4.0-4.1 | ||||||||||||
3.2 |
Notes
Works with Experimental Web Platform features enabled
Requires MacOS 10.12+ and the following about:config flags to be enabled:
layout.css.font-variations.enabled
,gfx.downloadable_fonts.keep_variation_tables
Requires MacOS 10.13+
Does not support the
font-weight
andfont-stretch
properties.Does not support
format('truetype-variations')
,format('woff-variations')
,format('woff2-variations')
Does not support OpenType-CFF2 fonts
OpenType-CFF2 support requires MacOS 10.15+
Bugs
Chrome supports
format('*-variations')
inside the@font-face
block only starting from Chrome version 66.
Resources
- MDN Web docs article
- How to use variable fonts in the real world
- v-fonts.com - A simple resource for finding and trying variable fonts
- Axis-Praxis - Tool & info on variable fonts
Data by caniuse.com
Licensed under the Creative Commons Attribution License v4.0.
https://caniuse.com/variable-fonts