@fontsource/inknut-antiqua 5.0.8 → 5.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/300.css +2 -2
- package/400.css +2 -2
- package/500.css +2 -2
- package/600.css +2 -2
- package/700.css +2 -2
- package/800.css +2 -2
- package/900.css +2 -2
- package/index.css +2 -2
- package/package.json +2 -2
- package/scss/metadata.scss +2 -2
- package/scss/mixins.scss +15 -7
- package/unicode.json +2 -2
package/300.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
font-display: swap;
|
|
6
6
|
font-weight: 300;
|
|
7
7
|
src: url(./files/inknut-antiqua-devanagari-300-normal.woff2) format('woff2'), url(./files/inknut-antiqua-devanagari-300-normal.woff) format('woff');
|
|
8
|
-
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+25CC,U+A830-A839,U+A8E0-A8FF;
|
|
8
|
+
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* inknut-antiqua-latin-ext-300-normal */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
font-display: swap;
|
|
16
16
|
font-weight: 300;
|
|
17
17
|
src: url(./files/inknut-antiqua-latin-ext-300-normal.woff2) format('woff2'), url(./files/inknut-antiqua-latin-ext-300-normal.woff) format('woff');
|
|
18
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
18
|
+
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* inknut-antiqua-latin-300-normal */
|
package/400.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
font-display: swap;
|
|
6
6
|
font-weight: 400;
|
|
7
7
|
src: url(./files/inknut-antiqua-devanagari-400-normal.woff2) format('woff2'), url(./files/inknut-antiqua-devanagari-400-normal.woff) format('woff');
|
|
8
|
-
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+25CC,U+A830-A839,U+A8E0-A8FF;
|
|
8
|
+
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* inknut-antiqua-latin-ext-400-normal */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
font-display: swap;
|
|
16
16
|
font-weight: 400;
|
|
17
17
|
src: url(./files/inknut-antiqua-latin-ext-400-normal.woff2) format('woff2'), url(./files/inknut-antiqua-latin-ext-400-normal.woff) format('woff');
|
|
18
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
18
|
+
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* inknut-antiqua-latin-400-normal */
|
package/500.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
font-display: swap;
|
|
6
6
|
font-weight: 500;
|
|
7
7
|
src: url(./files/inknut-antiqua-devanagari-500-normal.woff2) format('woff2'), url(./files/inknut-antiqua-devanagari-500-normal.woff) format('woff');
|
|
8
|
-
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+25CC,U+A830-A839,U+A8E0-A8FF;
|
|
8
|
+
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* inknut-antiqua-latin-ext-500-normal */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
font-display: swap;
|
|
16
16
|
font-weight: 500;
|
|
17
17
|
src: url(./files/inknut-antiqua-latin-ext-500-normal.woff2) format('woff2'), url(./files/inknut-antiqua-latin-ext-500-normal.woff) format('woff');
|
|
18
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
18
|
+
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* inknut-antiqua-latin-500-normal */
|
package/600.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
font-display: swap;
|
|
6
6
|
font-weight: 600;
|
|
7
7
|
src: url(./files/inknut-antiqua-devanagari-600-normal.woff2) format('woff2'), url(./files/inknut-antiqua-devanagari-600-normal.woff) format('woff');
|
|
8
|
-
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+25CC,U+A830-A839,U+A8E0-A8FF;
|
|
8
|
+
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* inknut-antiqua-latin-ext-600-normal */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
font-display: swap;
|
|
16
16
|
font-weight: 600;
|
|
17
17
|
src: url(./files/inknut-antiqua-latin-ext-600-normal.woff2) format('woff2'), url(./files/inknut-antiqua-latin-ext-600-normal.woff) format('woff');
|
|
18
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
18
|
+
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* inknut-antiqua-latin-600-normal */
|
package/700.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
font-display: swap;
|
|
6
6
|
font-weight: 700;
|
|
7
7
|
src: url(./files/inknut-antiqua-devanagari-700-normal.woff2) format('woff2'), url(./files/inknut-antiqua-devanagari-700-normal.woff) format('woff');
|
|
8
|
-
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+25CC,U+A830-A839,U+A8E0-A8FF;
|
|
8
|
+
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* inknut-antiqua-latin-ext-700-normal */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
font-display: swap;
|
|
16
16
|
font-weight: 700;
|
|
17
17
|
src: url(./files/inknut-antiqua-latin-ext-700-normal.woff2) format('woff2'), url(./files/inknut-antiqua-latin-ext-700-normal.woff) format('woff');
|
|
18
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
18
|
+
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* inknut-antiqua-latin-700-normal */
|
package/800.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
font-display: swap;
|
|
6
6
|
font-weight: 800;
|
|
7
7
|
src: url(./files/inknut-antiqua-devanagari-800-normal.woff2) format('woff2'), url(./files/inknut-antiqua-devanagari-800-normal.woff) format('woff');
|
|
8
|
-
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+25CC,U+A830-A839,U+A8E0-A8FF;
|
|
8
|
+
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* inknut-antiqua-latin-ext-800-normal */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
font-display: swap;
|
|
16
16
|
font-weight: 800;
|
|
17
17
|
src: url(./files/inknut-antiqua-latin-ext-800-normal.woff2) format('woff2'), url(./files/inknut-antiqua-latin-ext-800-normal.woff) format('woff');
|
|
18
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
18
|
+
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* inknut-antiqua-latin-800-normal */
|
package/900.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
font-display: swap;
|
|
6
6
|
font-weight: 900;
|
|
7
7
|
src: url(./files/inknut-antiqua-devanagari-900-normal.woff2) format('woff2'), url(./files/inknut-antiqua-devanagari-900-normal.woff) format('woff');
|
|
8
|
-
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+25CC,U+A830-A839,U+A8E0-A8FF;
|
|
8
|
+
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* inknut-antiqua-latin-ext-900-normal */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
font-display: swap;
|
|
16
16
|
font-weight: 900;
|
|
17
17
|
src: url(./files/inknut-antiqua-latin-ext-900-normal.woff2) format('woff2'), url(./files/inknut-antiqua-latin-ext-900-normal.woff) format('woff');
|
|
18
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
18
|
+
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* inknut-antiqua-latin-900-normal */
|
package/index.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
font-display: swap;
|
|
6
6
|
font-weight: 400;
|
|
7
7
|
src: url(./files/inknut-antiqua-devanagari-400-normal.woff2) format('woff2'), url(./files/inknut-antiqua-devanagari-400-normal.woff) format('woff');
|
|
8
|
-
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+25CC,U+A830-A839,U+A8E0-A8FF;
|
|
8
|
+
unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* inknut-antiqua-latin-ext-400-normal */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
font-display: swap;
|
|
16
16
|
font-weight: 400;
|
|
17
17
|
src: url(./files/inknut-antiqua-latin-ext-400-normal.woff2) format('woff2'), url(./files/inknut-antiqua-latin-ext-400-normal.woff) format('woff');
|
|
18
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
18
|
+
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* inknut-antiqua-latin-400-normal */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fontsource/inknut-antiqua",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.13",
|
|
4
4
|
"description": "Self-host the Inknut Antiqua font in a neatly bundled NPM package.",
|
|
5
5
|
"main": "index.css",
|
|
6
6
|
"publishConfig": {"access": "public"},
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"url": "https://github.com/fontsource/font-files.git",
|
|
27
27
|
"directory": "fonts/google/inknut-antiqua"
|
|
28
28
|
},
|
|
29
|
-
"publishHash": "
|
|
29
|
+
"publishHash": "d8143d5210031b12"
|
|
30
30
|
}
|
package/scss/metadata.scss
CHANGED
|
@@ -12,7 +12,7 @@ $defaults: (
|
|
|
12
12
|
axis: null,
|
|
13
13
|
) !default;
|
|
14
14
|
$unicode: (
|
|
15
|
-
devanagari: (U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+25CC,U+A830-A839,U+A8E0-A8FF),
|
|
16
|
-
latin-ext: (U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
15
|
+
devanagari: (U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09),
|
|
16
|
+
latin-ext: (U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF),
|
|
17
17
|
latin: (U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD),
|
|
18
18
|
) !default;
|
package/scss/mixins.scss
CHANGED
|
@@ -34,6 +34,7 @@ $displayVar: null !default;
|
|
|
34
34
|
// Deprecated
|
|
35
35
|
$displayVar: $displayVar
|
|
36
36
|
) {
|
|
37
|
+
|
|
37
38
|
@if $displayVar != null {
|
|
38
39
|
@warn "$displayVar is deprecated due to the limitation of using css variables in @font-face (https://github.com/fontsource/fontsource/issues/726).";
|
|
39
40
|
}
|
|
@@ -52,7 +53,7 @@ $displayVar: null !default;
|
|
|
52
53
|
$subsets: if(
|
|
53
54
|
$subsets,
|
|
54
55
|
if($subsets == all, map.get($metadata, subsets), $subsets),
|
|
55
|
-
map.get($metadata,
|
|
56
|
+
map.get($metadata, subsets)
|
|
56
57
|
);
|
|
57
58
|
$weights: if(
|
|
58
59
|
$weights,
|
|
@@ -72,13 +73,20 @@ $displayVar: null !default;
|
|
|
72
73
|
|
|
73
74
|
@each $subset in $subsets {
|
|
74
75
|
@each $unicodeSubset, $unicodeRange in map.get($metadata, unicode) {
|
|
76
|
+
// If condition is true, generate faces for the current subset
|
|
75
77
|
@if (
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
// If there is no unicode information for the font or
|
|
79
|
+
($unicodeSubset == null) or
|
|
80
|
+
// If the subset match a unicode subset or
|
|
81
|
+
($subset == $unicodeSubset) or
|
|
82
|
+
(
|
|
83
|
+
// If $unicodeSubset is a numeric unicode subset
|
|
84
|
+
// and current subset exists in the list of font subsets but does not match any unicode subset
|
|
85
|
+
// then generate faces for this numeric unicode subset as it is representing part of the current subset
|
|
86
|
+
list.index(map.get($metadata, subsets), $subset) and not
|
|
87
|
+
map.has-key($metadata, unicode, $subset) and not
|
|
88
|
+
list.index(map.get($metadata, subsets), $unicodeSubset)
|
|
89
|
+
)
|
|
82
90
|
) {
|
|
83
91
|
@each $weight in if($axes, null, $weights) {
|
|
84
92
|
@each $axis in $axes {
|
package/unicode.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"devanagari": "U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+25CC,U+A830-A839,U+A8E0-A8FF",
|
|
3
|
-
"latin-ext": "U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
2
|
+
"devanagari": "U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09",
|
|
3
|
+
"latin-ext": "U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF",
|
|
4
4
|
"latin": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
|
|
5
5
|
}
|