@@ -7,153 +7,143 @@ html body {
7
7
/* webfont-marker-end */
8
8
9
9
@font-face {
10
- font-family : 'Inter var' ;
11
- font-weight : 100 900 ;
12
- font-display : swap;
10
+ font-family : Inter;
13
11
font-style : normal;
14
- font-named-instance : 'Regular' ;
15
- src : url ('../fonts/inter-roman-cyrillic.woff2' ) format ('woff2' );
16
- unicode-range : U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
17
- }
18
-
19
- @font-face {
20
- font-family : 'Inter var' ;
21
12
font-weight : 100 900 ;
22
13
font-display : swap;
23
- font-style : normal;
24
- font-named-instance : 'Regular' ;
25
14
src : url ('../fonts/inter-roman-cyrillic-ext.woff2' ) format ('woff2' );
26
15
unicode-range : U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
27
16
U+FE2E-FE2F;
28
17
}
29
18
30
19
@font-face {
31
- font-family : 'Inter var' ;
20
+ font-family : Inter;
21
+ font-style : normal;
32
22
font-weight : 100 900 ;
33
23
font-display : swap;
34
- font-style : normal;
35
- font-named-instance : 'Regular' ;
36
- src : url ('../fonts/inter-roman-greek.woff2' ) format ('woff2' );
37
- unicode-range : U+0370-03FF;
24
+ src : url ('../fonts/inter-roman-cyrillic.woff2' ) format ('woff2' );
25
+ unicode-range : U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
38
26
}
39
27
40
28
@font-face {
41
- font-family : 'Inter var' ;
29
+ font-family : Inter;
30
+ font-style : normal;
42
31
font-weight : 100 900 ;
43
32
font-display : swap;
44
- font-style : normal;
45
- font-named-instance : 'Regular' ;
46
33
src : url ('../fonts/inter-roman-greek-ext.woff2' ) format ('woff2' );
47
34
unicode-range : U+1F00-1FFF;
48
35
}
49
36
50
37
@font-face {
51
- font-family : 'Inter var' ;
38
+ font-family : Inter;
39
+ font-style : normal;
52
40
font-weight : 100 900 ;
53
41
font-display : swap;
54
- font-style : normal;
55
- font-named-instance : 'Regular' ;
56
- src : url ('../fonts/inter-roman-latin.woff2' ) format ('woff2' );
57
- unicode-range : U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
58
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
59
- U+FEFF, U+FFFD;
42
+ src : url ('../fonts/inter-roman-greek.woff2' ) format ('woff2' );
43
+ unicode-range : U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1,
44
+ U+03A3-03FF;
60
45
}
61
46
62
47
@font-face {
63
- font-family : 'Inter var' ;
48
+ font-family : Inter;
49
+ font-style : normal;
64
50
font-weight : 100 900 ;
65
51
font-display : swap;
66
- font-style : normal;
67
- font-named-instance : 'Regular' ;
68
- src : url ('../fonts/inter-roman-latin-ext.woff2' ) format ('woff2' );
69
- unicode-range : U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
70
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
52
+ src : url ('../fonts/inter-roman-vietnamese.woff2' ) format ('woff2' );
53
+ unicode-range : U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
54
+ U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
55
+ U+1EA0-1EF9, U+20AB;
71
56
}
72
57
73
58
@font-face {
74
- font-family : 'Inter var' ;
59
+ font-family : Inter;
60
+ font-style : normal;
75
61
font-weight : 100 900 ;
76
62
font-display : swap;
77
- font-style : normal;
78
- font-named-instance : 'Regular' ;
79
- src : url ('../fonts/inter-roman-vietnamese.woff2' ) format ('woff2' );
80
- unicode-range : U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
81
- U+01AF-01B0, U+1EA0-1EF9, U+20AB;
63
+ src : url ('../fonts/inter-roman-latin-ext.woff2' ) format ('woff2' );
64
+ unicode-range : U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
65
+ U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
82
66
}
83
67
84
68
@font-face {
85
- font-family : 'Inter var' ;
69
+ font-family : Inter;
70
+ font-style : normal;
86
71
font-weight : 100 900 ;
87
72
font-display : swap;
88
- font-style : italic ;
89
- font-named-instance : 'Italic' ;
90
- src : url ( '../fonts/inter-italic-cyrillic.woff2' ) format ( 'woff2' );
91
- unicode-range : U+0301 , U+0400-045F , U+0490-0491 , U+04B0-04B1 , U+2116 ;
73
+ src : url ( '../fonts/inter-roman-latin.woff2' ) format ( 'woff2' ) ;
74
+ unicode-range : U+0000-00FF , U+0131 , U+0152-0153 , U+02BB-02BC , U+02C6 , U+02DA ,
75
+ U+02DC , U+0304 , U+0308 , U+0329 , U+2000-206F , U+2074 , U+20AC , U+2122 , U+2191 ,
76
+ U+2193 , U+2212 , U+2215 , U+FEFF , U+FFFD ;
92
77
}
93
78
94
79
@font-face {
95
- font-family : 'Inter var' ;
80
+ font-family : Inter;
81
+ font-style : italic;
96
82
font-weight : 100 900 ;
97
83
font-display : swap;
98
- font-style : italic;
99
- font-named-instance : 'Italic' ;
100
84
src : url ('../fonts/inter-italic-cyrillic-ext.woff2' ) format ('woff2' );
101
85
unicode-range : U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
102
86
U+FE2E-FE2F;
103
87
}
104
88
105
89
@font-face {
106
- font-family : 'Inter var' ;
90
+ font-family : Inter;
91
+ font-style : italic;
107
92
font-weight : 100 900 ;
108
93
font-display : swap;
109
- font-style : italic;
110
- font-named-instance : 'Italic' ;
111
- src : url ('../fonts/inter-italic-greek.woff2' ) format ('woff2' );
112
- unicode-range : U+0370-03FF;
94
+ src : url ('../fonts/inter-italic-cyrillic.woff2' ) format ('woff2' );
95
+ unicode-range : U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
113
96
}
114
97
115
98
@font-face {
116
- font-family : 'Inter var' ;
99
+ font-family : Inter;
100
+ font-style : italic;
117
101
font-weight : 100 900 ;
118
102
font-display : swap;
119
- font-style : italic;
120
- font-named-instance : 'Italic' ;
121
103
src : url ('../fonts/inter-italic-greek-ext.woff2' ) format ('woff2' );
122
104
unicode-range : U+1F00-1FFF;
123
105
}
124
106
125
107
@font-face {
126
- font-family : 'Inter var' ;
108
+ font-family : Inter;
109
+ font-style : italic;
127
110
font-weight : 100 900 ;
128
111
font-display : swap;
129
- font-style : italic;
130
- font-named-instance : 'Italic' ;
131
- src : url ('../fonts/inter-italic-latin.woff2' ) format ('woff2' );
132
- unicode-range : U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
133
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
134
- U+FEFF, U+FFFD;
112
+ src : url ('../fonts/inter-italic-greek.woff2' ) format ('woff2' );
113
+ unicode-range : U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1,
114
+ U+03A3-03FF;
135
115
}
136
116
137
117
@font-face {
138
- font-family : 'Inter var' ;
118
+ font-family : Inter;
119
+ font-style : italic;
139
120
font-weight : 100 900 ;
140
121
font-display : swap;
122
+ src : url ('../fonts/inter-italic-vietnamese.woff2' ) format ('woff2' );
123
+ unicode-range : U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
124
+ U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
125
+ U+1EA0-1EF9, U+20AB;
126
+ }
127
+
128
+ @font-face {
129
+ font-family : Inter;
141
130
font-style : italic;
142
- font-named-instance : 'Italic' ;
131
+ font-weight : 100 900 ;
132
+ font-display : swap;
143
133
src : url ('../fonts/inter-italic-latin-ext.woff2' ) format ('woff2' );
144
- unicode-range : U+0100-024F , U+0259 , U+1E00-1EFF , U+2020 , U+20A0-20AB ,
145
- U+20AD-20CF , U+2113, U+2C60-2C7F, U+A720-A7FF;
134
+ unicode-range : U+0100-02AF , U+0304 , U+0308 , U+0329 , U+1E00-1E9F , U+1EF2-1EFF ,
135
+ U+2020 , U+20A0-20AB , U+ 20AD-20C0 , U+2113, U+2C60-2C7F, U+A720-A7FF;
146
136
}
147
137
148
138
@font-face {
149
- font-family : 'Inter var' ;
139
+ font-family : Inter;
140
+ font-style : italic;
150
141
font-weight : 100 900 ;
151
142
font-display : swap;
152
- font-style : italic;
153
- font-named-instance : 'Italic' ;
154
- src : url ('../fonts/inter-italic-vietnamese.woff2' ) format ('woff2' );
155
- unicode-range : U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
156
- U+01AF-01B0, U+1EA0-1EF9, U+20AB;
143
+ src : url ('../fonts/inter-italic-latin.woff2' ) format ('woff2' );
144
+ unicode-range : U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
145
+ U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
146
+ U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
157
147
}
158
148
159
149
/* Chinese quotes rendering fix. 中英文弯引号共享 Unicode 码位,确保引号使用中文字体渲染 */
@@ -163,3 +153,5 @@ html body {
163
153
local ('Source Han Sans SC' );
164
154
unicode-range : U+2018, U+2019, U+201C, U+201D; /* 分别是 ‘’“” */
165
155
}
156
+
157
+ /* Generate the subsetted fonts using: `pyftsubset <file>.woff2 --unicodes="<range>" --output-file="inter-<style>-<subset>.woff2" --flavor=woff2` */
0 commit comments