@fontsource-variable/noto-sans-sc 5.0.4 → 5.0.6
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/index.css +1 -1
- package/package.json +2 -2
- package/scss/metadata.scss +1 -1
- package/scss/mixins.scss +15 -7
- package/unicode.json +1 -1
- package/wght.css +1 -1
package/index.css
CHANGED
|
@@ -995,7 +995,7 @@
|
|
|
995
995
|
font-display: swap;
|
|
996
996
|
font-weight: 100 900;
|
|
997
997
|
src: url(./files/noto-sans-sc-latin-ext-wght-normal.woff2) format('woff2-variations');
|
|
998
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
998
|
+
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;
|
|
999
999
|
}
|
|
1000
1000
|
|
|
1001
1001
|
/* noto-sans-sc-latin-wght-normal */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fontsource-variable/noto-sans-sc",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.6",
|
|
4
4
|
"description": "Self-host the Noto Sans SC 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/variable/noto-sans-sc"
|
|
28
28
|
},
|
|
29
|
-
"publishHash": "
|
|
29
|
+
"publishHash": "cbd62b626c592e8b"
|
|
30
30
|
}
|
package/scss/metadata.scss
CHANGED
|
@@ -118,6 +118,6 @@ $unicode: (
|
|
|
118
118
|
119: (U+20-22,U+27-2a,U+2c-3b,U+3f,U+41-4d,U+4f-5d,U+61-7b,U+7d,U+ab,U+ae,U+b2,U+b7,U+bb,U+df-e5,U+e7-ea,U+ec-ed,U+f1-f4,U+f6,U+f9-fa,U+fc,U+101,U+103,U+113,U+12b,U+148,U+14d,U+16b,U+1ce,U+1d0,U+300-301,U+1ebf,U+1ec7,U+2013-2014,U+2039-203a,U+2122,U+3001-3002,U+3042,U+3044,U+3046,U+3048,U+304a-3055,U+3057,U+3059-305b,U+305d,U+305f-3061,U+3063-306b,U+306d-3073,U+3075-3076,U+3078-3079,U+307b,U+307e-307f,U+3081-308d,U+308f,U+3092-3093,U+30a1-30a4,U+30a6-30bb,U+30bd,U+30bf-30c1,U+30c3-30c4,U+30c6-30cb,U+30cd-30d7,U+30d9-30e1,U+30e3-30e7,U+30e9-30ed,U+30ef,U+30f3,U+30fb-30fc,U+4e00,U+4e2d,U+65b0,U+65e5,U+6708-6709,U+70b9,U+7684,U+7f51,U+ff0c,U+ff0e,U+ff1a),
|
|
119
119
|
cyrillic: (U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116),
|
|
120
120
|
vietnamese: (U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB),
|
|
121
|
-
latin-ext: (U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
121
|
+
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),
|
|
122
122
|
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),
|
|
123
123
|
) !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
|
@@ -98,6 +98,6 @@
|
|
|
98
98
|
"[119]": "U+20-22,U+27-2a,U+2c-3b,U+3f,U+41-4d,U+4f-5d,U+61-7b,U+7d,U+ab,U+ae,U+b2,U+b7,U+bb,U+df-e5,U+e7-ea,U+ec-ed,U+f1-f4,U+f6,U+f9-fa,U+fc,U+101,U+103,U+113,U+12b,U+148,U+14d,U+16b,U+1ce,U+1d0,U+300-301,U+1ebf,U+1ec7,U+2013-2014,U+2039-203a,U+2122,U+3001-3002,U+3042,U+3044,U+3046,U+3048,U+304a-3055,U+3057,U+3059-305b,U+305d,U+305f-3061,U+3063-306b,U+306d-3073,U+3075-3076,U+3078-3079,U+307b,U+307e-307f,U+3081-308d,U+308f,U+3092-3093,U+30a1-30a4,U+30a6-30bb,U+30bd,U+30bf-30c1,U+30c3-30c4,U+30c6-30cb,U+30cd-30d7,U+30d9-30e1,U+30e3-30e7,U+30e9-30ed,U+30ef,U+30f3,U+30fb-30fc,U+4e00,U+4e2d,U+65b0,U+65e5,U+6708-6709,U+70b9,U+7684,U+7f51,U+ff0c,U+ff0e,U+ff1a",
|
|
99
99
|
"cyrillic": "U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116",
|
|
100
100
|
"vietnamese": "U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB",
|
|
101
|
-
"latin-ext": "U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
101
|
+
"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",
|
|
102
102
|
"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"
|
|
103
103
|
}
|
package/wght.css
CHANGED
|
@@ -995,7 +995,7 @@
|
|
|
995
995
|
font-display: swap;
|
|
996
996
|
font-weight: 100 900;
|
|
997
997
|
src: url(./files/noto-sans-sc-latin-ext-wght-normal.woff2) format('woff2-variations');
|
|
998
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
998
|
+
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;
|
|
999
999
|
}
|
|
1000
1000
|
|
|
1001
1001
|
/* noto-sans-sc-latin-wght-normal */
|