@fontsource-variable/noto-sans-tc 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
|
@@ -1035,7 +1035,7 @@
|
|
|
1035
1035
|
font-display: swap;
|
|
1036
1036
|
font-weight: 100 900;
|
|
1037
1037
|
src: url(./files/noto-sans-tc-latin-ext-wght-normal.woff2) format('woff2-variations');
|
|
1038
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
1038
|
+
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;
|
|
1039
1039
|
}
|
|
1040
1040
|
|
|
1041
1041
|
/* noto-sans-tc-latin-wght-normal */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fontsource-variable/noto-sans-tc",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.6",
|
|
4
4
|
"description": "Self-host the Noto Sans TC 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-tc"
|
|
28
28
|
},
|
|
29
|
-
"publishHash": "
|
|
29
|
+
"publishHash": "4b679e9df7476e98"
|
|
30
30
|
}
|
package/scss/metadata.scss
CHANGED
|
@@ -122,6 +122,6 @@ $unicode: (
|
|
|
122
122
|
119: (U+20-22,U+27-2a,U+2c-3b,U+3f,U+41-5d,U+61-7b,U+7d,U+a0,U+ab,U+ae,U+b2-b3,U+b7,U+bb,U+bf,U+c9,U+cd,U+d6,U+e0-ef,U+f1-f4,U+f6,U+f9-fa,U+fc-fd,U+101,U+103,U+110-111,U+113,U+12b,U+14d,U+16b,U+1a1,U+1b0,U+1ce,U+300-301,U+1ea1,U+1ea3,U+1ebf,U+1ec7,U+2013-2014,U+2039-203a,U+203c,U+2122,U+3001-3002,U+4e00,U+4e0a-4e0b,U+4e0d,U+4e2d,U+4eba,U+4ee5,U+4f5c,U+4f86,U+500b,U+5011,U+5165,U+5168,U+516c,U+51fa,U+5206,U+5230,U+52d5,U+53ef-53f0,U+570b,U+5728,U+5730,U+591a,U+5927,U+5929,U+597d,U+5b50,U+5bb6,U+5c0f,U+5e73-5e74,U+5fc3,U+6210-6211,U+6240,U+6587,U+65b0,U+65b9,U+65bc,U+65e5,U+660e,U+662f,U+6642,U+66f4,U+6700,U+6703,U+6708-6709,U+672c,U+6b63,U+6cbb,U+70b9-70ba,U+751f,U+7528,U+767c,U+7684,U+76f8,U+7db2,U+7f8e,U+80fd,U+81ea,U+884c,U+8981,U+958b,U+95dc,U+96fb,U+9801,U+9996,U+ff0c,U+ff1a),
|
|
123
123
|
cyrillic: (U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116),
|
|
124
124
|
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),
|
|
125
|
-
latin-ext: (U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
125
|
+
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),
|
|
126
126
|
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),
|
|
127
127
|
) !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
|
@@ -102,6 +102,6 @@
|
|
|
102
102
|
"[119]": "U+20-22,U+27-2a,U+2c-3b,U+3f,U+41-5d,U+61-7b,U+7d,U+a0,U+ab,U+ae,U+b2-b3,U+b7,U+bb,U+bf,U+c9,U+cd,U+d6,U+e0-ef,U+f1-f4,U+f6,U+f9-fa,U+fc-fd,U+101,U+103,U+110-111,U+113,U+12b,U+14d,U+16b,U+1a1,U+1b0,U+1ce,U+300-301,U+1ea1,U+1ea3,U+1ebf,U+1ec7,U+2013-2014,U+2039-203a,U+203c,U+2122,U+3001-3002,U+4e00,U+4e0a-4e0b,U+4e0d,U+4e2d,U+4eba,U+4ee5,U+4f5c,U+4f86,U+500b,U+5011,U+5165,U+5168,U+516c,U+51fa,U+5206,U+5230,U+52d5,U+53ef-53f0,U+570b,U+5728,U+5730,U+591a,U+5927,U+5929,U+597d,U+5b50,U+5bb6,U+5c0f,U+5e73-5e74,U+5fc3,U+6210-6211,U+6240,U+6587,U+65b0,U+65b9,U+65bc,U+65e5,U+660e,U+662f,U+6642,U+66f4,U+6700,U+6703,U+6708-6709,U+672c,U+6b63,U+6cbb,U+70b9-70ba,U+751f,U+7528,U+767c,U+7684,U+76f8,U+7db2,U+7f8e,U+80fd,U+81ea,U+884c,U+8981,U+958b,U+95dc,U+96fb,U+9801,U+9996,U+ff0c,U+ff1a",
|
|
103
103
|
"cyrillic": "U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116",
|
|
104
104
|
"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",
|
|
105
|
-
"latin-ext": "U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
105
|
+
"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",
|
|
106
106
|
"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"
|
|
107
107
|
}
|
package/wght.css
CHANGED
|
@@ -1035,7 +1035,7 @@
|
|
|
1035
1035
|
font-display: swap;
|
|
1036
1036
|
font-weight: 100 900;
|
|
1037
1037
|
src: url(./files/noto-sans-tc-latin-ext-wght-normal.woff2) format('woff2-variations');
|
|
1038
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
1038
|
+
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;
|
|
1039
1039
|
}
|
|
1040
1040
|
|
|
1041
1041
|
/* noto-sans-tc-latin-wght-normal */
|