@fontsource-variable/ubuntu-sans 5.1.1 → 5.2.4
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/LICENSE +69 -72
- package/README.md +2 -2
- package/metadata.json +3 -3
- package/package.json +14 -4
- package/scss/metadata.scss +31 -19
- package/scss/mixins.scss +3 -2
package/LICENSE
CHANGED
|
@@ -1,96 +1,93 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
Google Inc.
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
4
11
|
|
|
5
12
|
PREAMBLE
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
15
27
|
|
|
16
28
|
DEFINITIONS
|
|
17
29
|
"Font Software" refers to the set of files released by the Copyright
|
|
18
|
-
Holder(s) under this
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
19
31
|
include source files, build scripts and documentation.
|
|
20
32
|
|
|
21
|
-
"
|
|
22
|
-
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
23
38
|
|
|
24
39
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
25
40
|
or substituting -- in part or in whole -- any of the components of the
|
|
26
|
-
Original Version, by changing formats or by porting the Font Software to
|
|
27
|
-
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
28
43
|
|
|
29
|
-
"
|
|
30
|
-
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
31
46
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
35
52
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
infringement under applicable copyright law, except executing it on a
|
|
39
|
-
computer or modifying a private copy. Propagation includes copying,
|
|
40
|
-
distribution (with or without modification and with or without charging
|
|
41
|
-
a redistribution fee), making available to the public, and in some
|
|
42
|
-
countries other activities as well.
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
43
55
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
the new work, appended to that name.
|
|
68
|
-
|
|
69
|
-
3) The name(s) of the Copyright Holder(s) and any contributor to the
|
|
70
|
-
Font Software shall not be used to promote, endorse or advertise any
|
|
71
|
-
Modified Version, except (i) as required by this licence, (ii) to
|
|
72
|
-
acknowledge the contribution(s) of the Copyright Holder(s) or (iii) with
|
|
73
|
-
their explicit written permission.
|
|
74
|
-
|
|
75
|
-
4) The Font Software, modified or unmodified, in part or in whole, must
|
|
76
|
-
be distributed entirely under this licence, and must not be distributed
|
|
77
|
-
under any other licence. The requirement for fonts to remain under this
|
|
78
|
-
licence does not affect any document created using the Font Software,
|
|
79
|
-
except any version of the Font Software extracted from a document
|
|
80
|
-
created using the Font Software may only be distributed under this
|
|
81
|
-
licence.
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
82
79
|
|
|
83
80
|
TERMINATION
|
|
84
|
-
This
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
85
82
|
not met.
|
|
86
83
|
|
|
87
84
|
DISCLAIMER
|
|
88
85
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
89
86
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
90
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
91
|
-
COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
92
89
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
93
90
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
94
91
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
95
|
-
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
96
|
-
DEALINGS IN THE FONT SOFTWARE.
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
package/README.md
CHANGED
|
@@ -39,8 +39,8 @@ body {
|
|
|
39
39
|
## Licensing
|
|
40
40
|
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.
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
[
|
|
42
|
+
Google Inc.
|
|
43
|
+
[OFL-1.1](http://scripts.sil.org/OFL)
|
|
44
44
|
|
|
45
45
|
## Other Notes
|
|
46
46
|
Font version (provided by source): `v2`.
|
package/metadata.json
CHANGED
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"version": "v2",
|
|
22
22
|
"category": "sans-serif",
|
|
23
23
|
"license": {
|
|
24
|
-
"type": "
|
|
25
|
-
"url": "http://
|
|
26
|
-
"attribution": "
|
|
24
|
+
"type": "OFL-1.1",
|
|
25
|
+
"url": "http://scripts.sil.org/OFL",
|
|
26
|
+
"attribution": "Google Inc."
|
|
27
27
|
},
|
|
28
28
|
"source": "https://github.com/google/fonts",
|
|
29
29
|
"type": "google"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fontsource-variable/ubuntu-sans",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.4",
|
|
4
4
|
"description": "Self-host the Ubuntu Sans font in a neatly bundled NPM package.",
|
|
5
5
|
"main": "index.css",
|
|
6
6
|
"publishConfig": {"access": "public"},
|
|
@@ -18,13 +18,23 @@
|
|
|
18
18
|
"typeface",
|
|
19
19
|
"variable"
|
|
20
20
|
],
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {"sass": "./index.css", "default": "./index.css"},
|
|
23
|
+
"./*": {"sass": "./*.css", "default": "./*.css"},
|
|
24
|
+
"./files/*": {"sass": "./files/*", "default": "./files/*"},
|
|
25
|
+
"./package.json": "./package.json",
|
|
26
|
+
"./metadata.json": "./metadata.json",
|
|
27
|
+
"./unicode.json": "./unicode.json",
|
|
28
|
+
"./scss": {"sass": "./scss/metadata.scss"}
|
|
29
|
+
},
|
|
21
30
|
"author": "Google Inc.",
|
|
22
|
-
"license": "
|
|
31
|
+
"license": "OFL-1.1",
|
|
23
32
|
"homepage": "https://fontsource.org/fonts/ubuntu-sans",
|
|
33
|
+
"funding": "https://github.com/sponsors/ayuhito",
|
|
24
34
|
"repository": {
|
|
25
35
|
"type": "git",
|
|
26
|
-
"url": "https://github.com/fontsource/font-files.git",
|
|
36
|
+
"url": "git+https://github.com/fontsource/font-files.git",
|
|
27
37
|
"directory": "fonts/variable/ubuntu-sans"
|
|
28
38
|
},
|
|
29
|
-
"publishHash": "
|
|
39
|
+
"publishHash": "a430debb9b8616f6"
|
|
30
40
|
}
|
package/scss/metadata.scss
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
$id: 'ubuntu-sans'
|
|
2
|
-
$family: 'Ubuntu Sans'
|
|
3
|
-
$category: sans-serif
|
|
4
|
-
$subsets: (cyrillic, cyrillic-ext, greek, greek-ext, latin, latin-ext)
|
|
5
|
-
$weights: (100, 200, 300, 400, 500, 600, 700, 800)
|
|
6
|
-
$styles: (italic, normal)
|
|
1
|
+
$id: 'ubuntu-sans';
|
|
2
|
+
$family: 'Ubuntu Sans';
|
|
3
|
+
$category: sans-serif;
|
|
4
|
+
$subsets: (cyrillic, cyrillic-ext, greek, greek-ext, latin, latin-ext);
|
|
5
|
+
$weights: (100, 200, 300, 400, 500, 600, 700, 800);
|
|
6
|
+
$styles: (italic, normal);
|
|
7
7
|
$axes: (
|
|
8
8
|
ital: (
|
|
9
9
|
default: 0,
|
|
@@ -23,18 +23,30 @@ $axes: (
|
|
|
23
23
|
max: 800,
|
|
24
24
|
step: 1,
|
|
25
25
|
),
|
|
26
|
-
)
|
|
26
|
+
);
|
|
27
27
|
$defaults: (
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
)
|
|
28
|
+
subset: latin,
|
|
29
|
+
weight: 400,
|
|
30
|
+
style: normal,
|
|
31
|
+
axis: wght,
|
|
32
|
+
);
|
|
33
33
|
$unicode: (
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
)
|
|
34
|
+
cyrillic-ext: (U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F),
|
|
35
|
+
cyrillic: (U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116),
|
|
36
|
+
greek-ext: (U+1F00-1FFF),
|
|
37
|
+
greek: (U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF),
|
|
38
|
+
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),
|
|
39
|
+
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),
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
$metadata: (
|
|
43
|
+
id: $id,
|
|
44
|
+
family: $family,
|
|
45
|
+
category: $category,
|
|
46
|
+
subsets: $subsets,
|
|
47
|
+
weights: $weights,
|
|
48
|
+
styles: $styles,
|
|
49
|
+
axes: $axes,
|
|
50
|
+
defaults: $defaults,
|
|
51
|
+
unicode: $unicode,
|
|
52
|
+
) !default;
|
package/scss/mixins.scss
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
@use 'metadata';
|
|
8
8
|
|
|
9
|
-
$metadata:
|
|
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', '')}'),
|