@fontsource/kaisei-decol 5.0.11 → 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/400.css CHANGED
@@ -1215,7 +1215,7 @@
1215
1215
  font-display: swap;
1216
1216
  font-weight: 400;
1217
1217
  src: url(./files/kaisei-decol-latin-ext-400-normal.woff2) format('woff2'), url(./files/kaisei-decol-latin-ext-400-normal.woff) format('woff');
1218
- unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
1218
+ 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;
1219
1219
  }
1220
1220
 
1221
1221
  /* kaisei-decol-latin-400-normal */
package/500.css CHANGED
@@ -1215,7 +1215,7 @@
1215
1215
  font-display: swap;
1216
1216
  font-weight: 500;
1217
1217
  src: url(./files/kaisei-decol-latin-ext-500-normal.woff2) format('woff2'), url(./files/kaisei-decol-latin-ext-500-normal.woff) format('woff');
1218
- unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
1218
+ 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;
1219
1219
  }
1220
1220
 
1221
1221
  /* kaisei-decol-latin-500-normal */
package/700.css CHANGED
@@ -1215,7 +1215,7 @@
1215
1215
  font-display: swap;
1216
1216
  font-weight: 700;
1217
1217
  src: url(./files/kaisei-decol-latin-ext-700-normal.woff2) format('woff2'), url(./files/kaisei-decol-latin-ext-700-normal.woff) format('woff');
1218
- unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
1218
+ 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;
1219
1219
  }
1220
1220
 
1221
1221
  /* kaisei-decol-latin-700-normal */
package/index.css CHANGED
@@ -1215,7 +1215,7 @@
1215
1215
  font-display: swap;
1216
1216
  font-weight: 400;
1217
1217
  src: url(./files/kaisei-decol-latin-ext-400-normal.woff2) format('woff2'), url(./files/kaisei-decol-latin-ext-400-normal.woff) format('woff');
1218
- unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
1218
+ 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;
1219
1219
  }
1220
1220
 
1221
1221
  /* kaisei-decol-latin-400-normal */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fontsource/kaisei-decol",
3
- "version": "5.0.11",
3
+ "version": "5.0.13",
4
4
  "description": "Self-host the Kaisei Decol 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/kaisei-decol"
28
28
  },
29
- "publishHash": "602a7c5583718db0"
29
+ "publishHash": "72ba3343c2495dc7"
30
30
  }
@@ -133,6 +133,6 @@ $unicode: (
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
135
  cyrillic: (U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116),
136
- latin-ext: (U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF),
136
+ 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),
137
137
  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),
138
138
  ) !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, defaults, subset)
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
- ($subset == $unicodeSubset) or
77
- (
78
- // Is numeric subset
79
- ($subset == map.get($metadata, defaults, subset)) and not
80
- list.index(map.get($metadata, subsets), $unicodeSubset)
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
@@ -120,6 +120,6 @@
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
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
122
  "cyrillic": "U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116",
123
- "latin-ext": "U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF",
123
+ "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",
124
124
  "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"
125
125
  }