@fontsource/hachi-maru-pop 5.0.17 → 5.0.19
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/400.css +1 -1
- 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/400.css
CHANGED
|
@@ -1185,7 +1185,7 @@
|
|
|
1185
1185
|
font-display: swap;
|
|
1186
1186
|
font-weight: 400;
|
|
1187
1187
|
src: url(./files/hachi-maru-pop-latin-ext-400-normal.woff2) format('woff2'), url(./files/hachi-maru-pop-latin-ext-400-normal.woff) format('woff');
|
|
1188
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
1188
|
+
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;
|
|
1189
1189
|
}
|
|
1190
1190
|
|
|
1191
1191
|
/* hachi-maru-pop-latin-400-normal */
|
package/index.css
CHANGED
|
@@ -1185,7 +1185,7 @@
|
|
|
1185
1185
|
font-display: swap;
|
|
1186
1186
|
font-weight: 400;
|
|
1187
1187
|
src: url(./files/hachi-maru-pop-latin-ext-400-normal.woff2) format('woff2'), url(./files/hachi-maru-pop-latin-ext-400-normal.woff) format('woff');
|
|
1188
|
-
unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
1188
|
+
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;
|
|
1189
1189
|
}
|
|
1190
1190
|
|
|
1191
1191
|
/* hachi-maru-pop-latin-400-normal */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fontsource/hachi-maru-pop",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.19",
|
|
4
4
|
"description": "Self-host the Hachi Maru Pop 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/hachi-maru-pop"
|
|
28
28
|
},
|
|
29
|
-
"publishHash": "
|
|
29
|
+
"publishHash": "76e629b96b23acd1"
|
|
30
30
|
}
|
package/scss/metadata.scss
CHANGED
|
@@ -130,6 +130,6 @@ $unicode: (
|
|
|
130
130
|
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),
|
|
131
131
|
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),
|
|
132
132
|
cyrillic: (U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116),
|
|
133
|
-
latin-ext: (U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
133
|
+
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),
|
|
134
134
|
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
135
|
) !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
|
@@ -117,6 +117,6 @@
|
|
|
117
117
|
"[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",
|
|
118
118
|
"[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",
|
|
119
119
|
"cyrillic": "U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116",
|
|
120
|
-
"latin-ext": "U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-
|
|
120
|
+
"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",
|
|
121
121
|
"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
122
|
}
|