@fontsource/fanwood-text 5.1.0 → 5.2.0

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-italic.css CHANGED
@@ -1,3 +1,13 @@
1
+ /* fanwood-text-latin-ext-400-italic */
2
+ @font-face {
3
+ font-family: 'Fanwood Text';
4
+ font-style: italic;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url(./files/fanwood-text-latin-ext-400-italic.woff2) format('woff2'), url(./files/fanwood-text-latin-ext-400-italic.woff) format('woff');
8
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
9
+ }
10
+
1
11
  /* fanwood-text-latin-400-italic */
2
12
  @font-face {
3
13
  font-family: 'Fanwood Text';
@@ -5,5 +15,5 @@
5
15
  font-display: swap;
6
16
  font-weight: 400;
7
17
  src: url(./files/fanwood-text-latin-400-italic.woff2) format('woff2'), url(./files/fanwood-text-latin-400-italic.woff) format('woff');
8
- 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;
18
+ 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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
9
19
  }
package/400.css CHANGED
@@ -1,3 +1,13 @@
1
+ /* fanwood-text-latin-ext-400-normal */
2
+ @font-face {
3
+ font-family: 'Fanwood Text';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url(./files/fanwood-text-latin-ext-400-normal.woff2) format('woff2'), url(./files/fanwood-text-latin-ext-400-normal.woff) format('woff');
8
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
9
+ }
10
+
1
11
  /* fanwood-text-latin-400-normal */
2
12
  @font-face {
3
13
  font-family: 'Fanwood Text';
@@ -5,5 +15,5 @@
5
15
  font-display: swap;
6
16
  font-weight: 400;
7
17
  src: url(./files/fanwood-text-latin-400-normal.woff2) format('woff2'), url(./files/fanwood-text-latin-400-normal.woff) format('woff');
8
- 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;
18
+ 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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
9
19
  }
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011, Barry Schwartz (chemoelectric@chemoelectric.org)
1
+ Google Inc.
2
2
 
3
3
  This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
4
  This license is copied below, and is also available with a FAQ at:
package/README.md CHANGED
@@ -23,7 +23,7 @@ import "@fontsource/fanwood-text/400-italic.css"; // Specify weight and style
23
23
  Supported variables:
24
24
  - Weights: `[400]`
25
25
  - Styles: `[italic,normal]`
26
- - Subsets: `[latin]`
26
+ - Subsets: `[latin,latin-ext]`
27
27
 
28
28
  > Note: `italic` may not be supported by all fonts. To learn more about what weights and styles are supported, please visit the [Fontsource website](https://fontsource.org/fonts/fanwood-text).
29
29
 
@@ -38,10 +38,10 @@ body {
38
38
  ## Licensing
39
39
  Always make sure to read the license for each font you use. Most of the fonts in the collection use the SIL Open Font License, v1.1. Some fonts use the Apache 2 license. The Ubuntu fonts use the Ubuntu Font License v1.0.
40
40
 
41
- Copyright (c) 2011, Barry Schwartz (chemoelectric@chemoelectric.org)
41
+ Google Inc.
42
42
  [OFL-1.1](http://scripts.sil.org/OFL)
43
43
 
44
44
  ## Other Notes
45
- Font version (provided by source): `v15`.
45
+ Font version (provided by source): `v16`.
46
46
 
47
47
  If you have any suggestions or ideas to improve the performance of font loading or expand the existing library, feel free to star and contribute to this repository. You can share your suggestions or ideas by creating an [issue](https://github.com/fontsource/fontsource/issues).
package/index.css CHANGED
@@ -1,3 +1,13 @@
1
+ /* fanwood-text-latin-ext-400-normal */
2
+ @font-face {
3
+ font-family: 'Fanwood Text';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url(./files/fanwood-text-latin-ext-400-normal.woff2) format('woff2'), url(./files/fanwood-text-latin-ext-400-normal.woff) format('woff');
8
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
9
+ }
10
+
1
11
  /* fanwood-text-latin-400-normal */
2
12
  @font-face {
3
13
  font-family: 'Fanwood Text';
@@ -5,5 +15,5 @@
5
15
  font-display: swap;
6
16
  font-weight: 400;
7
17
  src: url(./files/fanwood-text-latin-400-normal.woff2) format('woff2'), url(./files/fanwood-text-latin-400-normal.woff) format('woff');
8
- 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;
18
+ 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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
9
19
  }
@@ -0,0 +1,8 @@
1
+ /* fanwood-text-latin-ext-400-italic */
2
+ @font-face {
3
+ font-family: 'Fanwood Text';
4
+ font-style: italic;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url(./files/fanwood-text-latin-ext-400-italic.woff2) format('woff2'), url(./files/fanwood-text-latin-ext-400-italic.woff) format('woff');
8
+ }
@@ -0,0 +1,8 @@
1
+ /* fanwood-text-latin-ext-400-normal */
2
+ @font-face {
3
+ font-family: 'Fanwood Text';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url(./files/fanwood-text-latin-ext-400-normal.woff2) format('woff2'), url(./files/fanwood-text-latin-ext-400-normal.woff) format('woff');
8
+ }
@@ -0,0 +1,8 @@
1
+ /* fanwood-text-latin-ext-400-italic */
2
+ @font-face {
3
+ font-family: 'Fanwood Text';
4
+ font-style: italic;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url(./files/fanwood-text-latin-ext-400-italic.woff2) format('woff2'), url(./files/fanwood-text-latin-ext-400-italic.woff) format('woff');
8
+ }
package/latin-ext.css ADDED
@@ -0,0 +1,8 @@
1
+ /* fanwood-text-latin-ext-400-normal */
2
+ @font-face {
3
+ font-family: 'Fanwood Text';
4
+ font-style: normal;
5
+ font-display: swap;
6
+ font-weight: 400;
7
+ src: url(./files/fanwood-text-latin-ext-400-normal.woff2) format('woff2'), url(./files/fanwood-text-latin-ext-400-normal.woff) format('woff');
8
+ }
package/metadata.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "id": "fanwood-text",
3
3
  "family": "Fanwood Text",
4
- "subsets": ["latin"],
4
+ "subsets": ["latin", "latin-ext"],
5
5
  "weights": [400],
6
6
  "styles": ["italic", "normal"],
7
7
  "defSubset": "latin",
8
8
  "variable": false,
9
- "lastModified": "2024-09-04",
10
- "version": "v15",
9
+ "lastModified": "2024-11-20",
10
+ "version": "v16",
11
11
  "category": "serif",
12
12
  "license": {
13
13
  "type": "OFL-1.1",
14
14
  "url": "http://scripts.sil.org/OFL",
15
- "attribution": "Copyright (c) 2011, Barry Schwartz (chemoelectric@chemoelectric.org)"
15
+ "attribution": "Google Inc."
16
16
  },
17
17
  "source": "https://github.com/google/fonts",
18
18
  "type": "google"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fontsource/fanwood-text",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "description": "Self-host the Fanwood Text font in a neatly bundled NPM package.",
5
5
  "main": "index.css",
6
6
  "publishConfig": {"access": "public"},
@@ -18,6 +18,10 @@
18
18
  "typeface",
19
19
  "variable"
20
20
  ],
21
+ "exports": {
22
+ ".": {"sass": "./index.css", "default": "./index.css"},
23
+ "./scss": {"sass": "./scss/metadata.scss"}
24
+ },
21
25
  "author": "Google Inc.",
22
26
  "license": "OFL-1.1",
23
27
  "homepage": "https://fontsource.org/fonts/fanwood-text",
@@ -26,5 +30,5 @@
26
30
  "url": "https://github.com/fontsource/font-files.git",
27
31
  "directory": "fonts/google/fanwood-text"
28
32
  },
29
- "publishHash": "f24bbe7f1e762095"
33
+ "publishHash": "27df1b7fbb7c9e54"
30
34
  }
@@ -1,16 +1,29 @@
1
- $id: 'fanwood-text' !default;
2
- $family: 'Fanwood Text' !default;
3
- $category: serif !default;
4
- $subsets: (latin) !default;
5
- $weights: (400) !default;
6
- $styles: (italic, normal) !default;
7
- $axes: null !default;
1
+ $id: 'fanwood-text';
2
+ $family: 'Fanwood Text';
3
+ $category: serif;
4
+ $subsets: (latin, latin-ext);
5
+ $weights: (400);
6
+ $styles: (italic, normal);
7
+ $axes: null;
8
8
  $defaults: (
9
- subset: latin,
10
- weight: 400,
11
- style: normal,
12
- axis: null,
13
- ) !default;
9
+ subset: latin,
10
+ weight: 400,
11
+ style: normal,
12
+ axis: null,
13
+ );
14
14
  $unicode: (
15
- 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),
16
- ) !default;
15
+ latin-ext: (U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF),
16
+ 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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD),
17
+ );
18
+
19
+ $metadata: (
20
+ id: $id,
21
+ family: $family,
22
+ category: $category,
23
+ subsets: $subsets,
24
+ weights: $weights,
25
+ styles: $styles,
26
+ axes: $axes,
27
+ defaults: $defaults,
28
+ unicode: $unicode,
29
+ ) !default;
package/scss/mixins.scss CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  @use 'metadata';
8
8
 
9
- $metadata: meta.module-variables(metadata) !default;
9
+ $metadata: metadata.$metadata !default;
10
10
  $directory: null !default;
11
11
 
12
12
  $family: null !default;
@@ -34,6 +34,7 @@ $displayVar: null !default;
34
34
  // Deprecated
35
35
  $displayVar: $displayVar
36
36
  ) {
37
+ @warn "Importing mixins via the fontsource package is deprecated and will be removed in the next major release. Please use the @fontsource-utils/scss package instead.";
37
38
 
38
39
  @if $displayVar != null {
39
40
  @warn "$displayVar is deprecated due to the limitation of using css variables in @font-face (https://github.com/fontsource/fontsource/issues/726).";
@@ -95,7 +96,7 @@ $displayVar: null !default;
95
96
 
96
97
  $src: ();
97
98
  @each $format in $formats {
98
- $src: append(
99
+ $src: list.append(
99
100
  $src,
100
101
  url('#{$directory}/#{$variant}.#{$format}')
101
102
  format('#{$format}#{if($axis, '-variations', '')}'),
package/unicode.json CHANGED
@@ -1,3 +1,4 @@
1
1
  {
2
- "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"
2
+ "latin-ext": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF",
3
+ "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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD"
3
4
  }