@fontsource/noto-serif-jp 5.0.7 → 5.0.12
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/200.css +10 -0
- package/300.css +10 -0
- package/400.css +10 -0
- package/500.css +10 -0
- package/600.css +10 -0
- package/700.css +10 -0
- package/900.css +10 -0
- package/index.css +10 -0
- package/package.json +2 -2
- package/scss/metadata.scss +1 -0
- package/scss/mixins.scss +15 -7
- package/unicode.json +2 -1
package/200.css
CHANGED
|
@@ -1196,4 +1196,14 @@
|
|
|
1196
1196
|
font-weight: 200;
|
|
1197
1197
|
src: url(./files/noto-serif-jp-119-200-normal.woff2) format('woff2'), url(./files/noto-serif-jp-119-200-normal.woff) format('woff');
|
|
1198
1198
|
unicode-range: U+20,U+2027,U+3001-3002,U+3041-307f,U+3081-308f,U+3091-3093,U+3099-309a,U+309d-309e,U+30a1-30e1,U+30e3-30ed,U+30ef-30f0,U+30f2-30f4,U+30fb-30fe,U+ff0c,U+ff0e;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/* noto-serif-jp-latin-200-normal */
|
|
1202
|
+
@font-face {
|
|
1203
|
+
font-family: 'Noto Serif JP';
|
|
1204
|
+
font-style: normal;
|
|
1205
|
+
font-display: swap;
|
|
1206
|
+
font-weight: 200;
|
|
1207
|
+
src: url(./files/noto-serif-jp-latin-200-normal.woff2) format('woff2'), url(./files/noto-serif-jp-latin-200-normal.woff) format('woff');
|
|
1208
|
+
unicode-range: 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;
|
|
1199
1209
|
}
|
package/300.css
CHANGED
|
@@ -1196,4 +1196,14 @@
|
|
|
1196
1196
|
font-weight: 300;
|
|
1197
1197
|
src: url(./files/noto-serif-jp-119-300-normal.woff2) format('woff2'), url(./files/noto-serif-jp-119-300-normal.woff) format('woff');
|
|
1198
1198
|
unicode-range: U+20,U+2027,U+3001-3002,U+3041-307f,U+3081-308f,U+3091-3093,U+3099-309a,U+309d-309e,U+30a1-30e1,U+30e3-30ed,U+30ef-30f0,U+30f2-30f4,U+30fb-30fe,U+ff0c,U+ff0e;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/* noto-serif-jp-latin-300-normal */
|
|
1202
|
+
@font-face {
|
|
1203
|
+
font-family: 'Noto Serif JP';
|
|
1204
|
+
font-style: normal;
|
|
1205
|
+
font-display: swap;
|
|
1206
|
+
font-weight: 300;
|
|
1207
|
+
src: url(./files/noto-serif-jp-latin-300-normal.woff2) format('woff2'), url(./files/noto-serif-jp-latin-300-normal.woff) format('woff');
|
|
1208
|
+
unicode-range: 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;
|
|
1199
1209
|
}
|
package/400.css
CHANGED
|
@@ -1196,4 +1196,14 @@
|
|
|
1196
1196
|
font-weight: 400;
|
|
1197
1197
|
src: url(./files/noto-serif-jp-119-400-normal.woff2) format('woff2'), url(./files/noto-serif-jp-119-400-normal.woff) format('woff');
|
|
1198
1198
|
unicode-range: U+20,U+2027,U+3001-3002,U+3041-307f,U+3081-308f,U+3091-3093,U+3099-309a,U+309d-309e,U+30a1-30e1,U+30e3-30ed,U+30ef-30f0,U+30f2-30f4,U+30fb-30fe,U+ff0c,U+ff0e;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/* noto-serif-jp-latin-400-normal */
|
|
1202
|
+
@font-face {
|
|
1203
|
+
font-family: 'Noto Serif JP';
|
|
1204
|
+
font-style: normal;
|
|
1205
|
+
font-display: swap;
|
|
1206
|
+
font-weight: 400;
|
|
1207
|
+
src: url(./files/noto-serif-jp-latin-400-normal.woff2) format('woff2'), url(./files/noto-serif-jp-latin-400-normal.woff) format('woff');
|
|
1208
|
+
unicode-range: 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;
|
|
1199
1209
|
}
|
package/500.css
CHANGED
|
@@ -1196,4 +1196,14 @@
|
|
|
1196
1196
|
font-weight: 500;
|
|
1197
1197
|
src: url(./files/noto-serif-jp-119-500-normal.woff2) format('woff2'), url(./files/noto-serif-jp-119-500-normal.woff) format('woff');
|
|
1198
1198
|
unicode-range: U+20,U+2027,U+3001-3002,U+3041-307f,U+3081-308f,U+3091-3093,U+3099-309a,U+309d-309e,U+30a1-30e1,U+30e3-30ed,U+30ef-30f0,U+30f2-30f4,U+30fb-30fe,U+ff0c,U+ff0e;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/* noto-serif-jp-latin-500-normal */
|
|
1202
|
+
@font-face {
|
|
1203
|
+
font-family: 'Noto Serif JP';
|
|
1204
|
+
font-style: normal;
|
|
1205
|
+
font-display: swap;
|
|
1206
|
+
font-weight: 500;
|
|
1207
|
+
src: url(./files/noto-serif-jp-latin-500-normal.woff2) format('woff2'), url(./files/noto-serif-jp-latin-500-normal.woff) format('woff');
|
|
1208
|
+
unicode-range: 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;
|
|
1199
1209
|
}
|
package/600.css
CHANGED
|
@@ -1196,4 +1196,14 @@
|
|
|
1196
1196
|
font-weight: 600;
|
|
1197
1197
|
src: url(./files/noto-serif-jp-119-600-normal.woff2) format('woff2'), url(./files/noto-serif-jp-119-600-normal.woff) format('woff');
|
|
1198
1198
|
unicode-range: U+20,U+2027,U+3001-3002,U+3041-307f,U+3081-308f,U+3091-3093,U+3099-309a,U+309d-309e,U+30a1-30e1,U+30e3-30ed,U+30ef-30f0,U+30f2-30f4,U+30fb-30fe,U+ff0c,U+ff0e;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/* noto-serif-jp-latin-600-normal */
|
|
1202
|
+
@font-face {
|
|
1203
|
+
font-family: 'Noto Serif JP';
|
|
1204
|
+
font-style: normal;
|
|
1205
|
+
font-display: swap;
|
|
1206
|
+
font-weight: 600;
|
|
1207
|
+
src: url(./files/noto-serif-jp-latin-600-normal.woff2) format('woff2'), url(./files/noto-serif-jp-latin-600-normal.woff) format('woff');
|
|
1208
|
+
unicode-range: 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;
|
|
1199
1209
|
}
|
package/700.css
CHANGED
|
@@ -1196,4 +1196,14 @@
|
|
|
1196
1196
|
font-weight: 700;
|
|
1197
1197
|
src: url(./files/noto-serif-jp-119-700-normal.woff2) format('woff2'), url(./files/noto-serif-jp-119-700-normal.woff) format('woff');
|
|
1198
1198
|
unicode-range: U+20,U+2027,U+3001-3002,U+3041-307f,U+3081-308f,U+3091-3093,U+3099-309a,U+309d-309e,U+30a1-30e1,U+30e3-30ed,U+30ef-30f0,U+30f2-30f4,U+30fb-30fe,U+ff0c,U+ff0e;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/* noto-serif-jp-latin-700-normal */
|
|
1202
|
+
@font-face {
|
|
1203
|
+
font-family: 'Noto Serif JP';
|
|
1204
|
+
font-style: normal;
|
|
1205
|
+
font-display: swap;
|
|
1206
|
+
font-weight: 700;
|
|
1207
|
+
src: url(./files/noto-serif-jp-latin-700-normal.woff2) format('woff2'), url(./files/noto-serif-jp-latin-700-normal.woff) format('woff');
|
|
1208
|
+
unicode-range: 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;
|
|
1199
1209
|
}
|
package/900.css
CHANGED
|
@@ -1196,4 +1196,14 @@
|
|
|
1196
1196
|
font-weight: 900;
|
|
1197
1197
|
src: url(./files/noto-serif-jp-119-900-normal.woff2) format('woff2'), url(./files/noto-serif-jp-119-900-normal.woff) format('woff');
|
|
1198
1198
|
unicode-range: U+20,U+2027,U+3001-3002,U+3041-307f,U+3081-308f,U+3091-3093,U+3099-309a,U+309d-309e,U+30a1-30e1,U+30e3-30ed,U+30ef-30f0,U+30f2-30f4,U+30fb-30fe,U+ff0c,U+ff0e;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/* noto-serif-jp-latin-900-normal */
|
|
1202
|
+
@font-face {
|
|
1203
|
+
font-family: 'Noto Serif JP';
|
|
1204
|
+
font-style: normal;
|
|
1205
|
+
font-display: swap;
|
|
1206
|
+
font-weight: 900;
|
|
1207
|
+
src: url(./files/noto-serif-jp-latin-900-normal.woff2) format('woff2'), url(./files/noto-serif-jp-latin-900-normal.woff) format('woff');
|
|
1208
|
+
unicode-range: 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;
|
|
1199
1209
|
}
|
package/index.css
CHANGED
|
@@ -1196,4 +1196,14 @@
|
|
|
1196
1196
|
font-weight: 400;
|
|
1197
1197
|
src: url(./files/noto-serif-jp-119-400-normal.woff2) format('woff2'), url(./files/noto-serif-jp-119-400-normal.woff) format('woff');
|
|
1198
1198
|
unicode-range: U+20,U+2027,U+3001-3002,U+3041-307f,U+3081-308f,U+3091-3093,U+3099-309a,U+309d-309e,U+30a1-30e1,U+30e3-30ed,U+30ef-30f0,U+30f2-30f4,U+30fb-30fe,U+ff0c,U+ff0e;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/* noto-serif-jp-latin-400-normal */
|
|
1202
|
+
@font-face {
|
|
1203
|
+
font-family: 'Noto Serif JP';
|
|
1204
|
+
font-style: normal;
|
|
1205
|
+
font-display: swap;
|
|
1206
|
+
font-weight: 400;
|
|
1207
|
+
src: url(./files/noto-serif-jp-latin-400-normal.woff2) format('woff2'), url(./files/noto-serif-jp-latin-400-normal.woff) format('woff');
|
|
1208
|
+
unicode-range: 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;
|
|
1199
1209
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fontsource/noto-serif-jp",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.12",
|
|
4
4
|
"description": "Self-host the Noto Serif JP 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/noto-serif-jp"
|
|
28
28
|
},
|
|
29
|
-
"publishHash": "
|
|
29
|
+
"publishHash": "df804a7b9da339fd"
|
|
30
30
|
}
|
package/scss/metadata.scss
CHANGED
|
@@ -132,4 +132,5 @@ $unicode: (
|
|
|
132
132
|
117: (U+4e,U+a0,U+3000,U+300c-300d,U+4e00,U+4e0a,U+4e2d,U+4e8b,U+4eba,U+4f1a,U+5165,U+5168,U+5185,U+51fa,U+5206,U+5229,U+524d,U+52d5,U+5408,U+554f,U+5831,U+5834,U+5927,U+5b9a,U+5e74,U+5f0f,U+60c5,U+65b0,U+65b9,U+6642,U+6700,U+672c,U+682a,U+6b63,U+6c17,U+7121,U+751f,U+7528,U+753b,U+76ee,U+793e,U+884c,U+898b,U+8a18,U+9593,U+95a2,U+ff01,U+ff08-ff09),
|
|
133
133
|
118: (U+21-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-b3,U+b7,U+bb,U+c9,U+cd,U+d6,U+d8,U+dc,U+e0-e5,U+e7-ed,U+ef,U+f1-f4,U+f6,U+f8,U+fa,U+fc-fd,U+103,U+14d,U+1b0,U+300-301,U+1ebf,U+1ec7,U+2013-2014,U+201c-201d,U+2039-203a,U+203c,U+2048-2049,U+2113,U+2122,U+65e5,U+6708,U+70b9),
|
|
134
134
|
119: (U+20,U+2027,U+3001-3002,U+3041-307f,U+3081-308f,U+3091-3093,U+3099-309a,U+309d-309e,U+30a1-30e1,U+30e3-30ed,U+30ef-30f0,U+30f2-30f4,U+30fb-30fe,U+ff0c,U+ff0e),
|
|
135
|
+
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),
|
|
135
136
|
) !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
|
@@ -118,5 +118,6 @@
|
|
|
118
118
|
"[116]": "U+a9,U+3010-3011,U+30e2,U+4e0b,U+4eca,U+4ed6,U+4ed8,U+4f53,U+4f5c,U+4f7f,U+53d6,U+540d,U+54c1,U+5730,U+5916,U+5b50,U+5c0f,U+5f8c,U+624b,U+6570,U+6587,U+6599,U+691c,U+696d,U+6cd5,U+7269,U+7279,U+7406,U+767a-767b,U+77e5,U+7d04,U+7d22,U+8005,U+80fd,U+81ea,U+8868,U+8981,U+89a7,U+901a,U+9023,U+90e8,U+91d1,U+9332,U+958b,U+96c6,U+9ad8,U+ff1a,U+ff1f",
|
|
119
119
|
"[117]": "U+4e,U+a0,U+3000,U+300c-300d,U+4e00,U+4e0a,U+4e2d,U+4e8b,U+4eba,U+4f1a,U+5165,U+5168,U+5185,U+51fa,U+5206,U+5229,U+524d,U+52d5,U+5408,U+554f,U+5831,U+5834,U+5927,U+5b9a,U+5e74,U+5f0f,U+60c5,U+65b0,U+65b9,U+6642,U+6700,U+672c,U+682a,U+6b63,U+6c17,U+7121,U+751f,U+7528,U+753b,U+76ee,U+793e,U+884c,U+898b,U+8a18,U+9593,U+95a2,U+ff01,U+ff08-ff09",
|
|
120
120
|
"[118]": "U+21-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-b3,U+b7,U+bb,U+c9,U+cd,U+d6,U+d8,U+dc,U+e0-e5,U+e7-ed,U+ef,U+f1-f4,U+f6,U+f8,U+fa,U+fc-fd,U+103,U+14d,U+1b0,U+300-301,U+1ebf,U+1ec7,U+2013-2014,U+201c-201d,U+2039-203a,U+203c,U+2048-2049,U+2113,U+2122,U+65e5,U+6708,U+70b9",
|
|
121
|
-
"[119]": "U+20,U+2027,U+3001-3002,U+3041-307f,U+3081-308f,U+3091-3093,U+3099-309a,U+309d-309e,U+30a1-30e1,U+30e3-30ed,U+30ef-30f0,U+30f2-30f4,U+30fb-30fe,U+ff0c,U+ff0e"
|
|
121
|
+
"[119]": "U+20,U+2027,U+3001-3002,U+3041-307f,U+3081-308f,U+3091-3093,U+3099-309a,U+309d-309e,U+30a1-30e1,U+30e3-30ed,U+30ef-30f0,U+30f2-30f4,U+30fb-30fe,U+ff0c,U+ff0e",
|
|
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"
|
|
122
123
|
}
|