turno-fonts 0.0.0-stage → 0.1.1
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/CHANGELOG.md +12 -0
- package/LICENSE.txt +179 -0
- package/README.md +20 -2
- package/fonts/MesloLGSNerdFont-Bold.ttf +0 -0
- package/fonts/MesloLGSNerdFont-BoldItalic.ttf +0 -0
- package/fonts/MesloLGSNerdFont-Italic.ttf +0 -0
- package/fonts/MesloLGSNerdFont-Regular.ttf +0 -0
- package/index.d.ts +4 -0
- package/index.js +34 -0
- package/package.json +40 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# turno-fonts
|
|
2
|
+
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ce52d03: The repository moved to `github.com/wimo-dev/turno`. turno-browser is listed in the MCP
|
|
8
|
+
Registry as `io.github.wimo-dev/turno-browser`.
|
|
9
|
+
|
|
10
|
+
## 0.1.0
|
|
11
|
+
|
|
12
|
+
First public release: MesloLGS Nerd Font 3.4.0 with checksums, for the turno status line.
|
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
Copyright 2009, 2010, 2013 André Berg
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
------------------------------------------------------------------------
|
|
17
|
+
Nerd Fonts (the icons patched into the files above), v3.4.0
|
|
18
|
+
------------------------------------------------------------------------
|
|
19
|
+
|
|
20
|
+
# Nerd Fonts Licensing
|
|
21
|
+
|
|
22
|
+
There are various sources used under various licenses:
|
|
23
|
+
|
|
24
|
+
* Nerd Fonts source fonts, patched fonts, and folders with explict OFL SIL files are licensed under SIL OPEN FONT LICENSE Version 1.1 (see below).
|
|
25
|
+
* Nerd Fonts original source code files (such as `.sh`, `.py`, `font-patcher` and others) are licensed under the MIT License (MIT) (see below).
|
|
26
|
+
* Many other licenses are present in this project for even more detailed breakdown see: [License Audit](https://github.com/ryanoasis/nerd-fonts/blob/-/license-audit.md).
|
|
27
|
+
|
|
28
|
+
## Source files not in folders containing an explicit license are using the MIT License (MIT)
|
|
29
|
+
|
|
30
|
+
The MIT License (MIT)
|
|
31
|
+
|
|
32
|
+
Copyright (c) 2014 Ryan L McIntyre
|
|
33
|
+
|
|
34
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
35
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
36
|
+
in the Software without restriction, including without limitation the rights
|
|
37
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
38
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
39
|
+
furnished to do so, subject to the following conditions:
|
|
40
|
+
|
|
41
|
+
The above copyright notice and this permission notice shall be included in all
|
|
42
|
+
copies or substantial portions of the Software.
|
|
43
|
+
|
|
44
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
45
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
46
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
47
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
48
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
49
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
50
|
+
SOFTWARE.
|
|
51
|
+
|
|
52
|
+
## Various Fonts, Patched Fonts, SVGs, Glyph Fonts, and any files in a folder with explicit SIL OFL 1.1 License
|
|
53
|
+
|
|
54
|
+
Copyright (c) 2014, Ryan L McIntyre (https://ryanlmcintyre.com).
|
|
55
|
+
|
|
56
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
57
|
+
This license is copied below, and is also available with a FAQ at:
|
|
58
|
+
http://scripts.sil.org/OFL
|
|
59
|
+
|
|
60
|
+
-----------------------------------------------------------
|
|
61
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
62
|
+
-----------------------------------------------------------
|
|
63
|
+
|
|
64
|
+
PREAMBLE
|
|
65
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
66
|
+
development of collaborative font projects, to support the font creation
|
|
67
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
68
|
+
open framework in which fonts may be shared and improved in partnership
|
|
69
|
+
with others.
|
|
70
|
+
|
|
71
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
72
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
73
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
74
|
+
redistributed and/or sold with any software provided that any reserved
|
|
75
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
76
|
+
however, cannot be released under any other type of license. The
|
|
77
|
+
requirement for fonts to remain under this license does not apply
|
|
78
|
+
to any document created using the fonts or their derivatives.
|
|
79
|
+
|
|
80
|
+
DEFINITIONS
|
|
81
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
82
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
83
|
+
include source files, build scripts and documentation.
|
|
84
|
+
|
|
85
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
86
|
+
copyright statement(s).
|
|
87
|
+
|
|
88
|
+
"Original Version" refers to the collection of Font Software components as
|
|
89
|
+
distributed by the Copyright Holder(s).
|
|
90
|
+
|
|
91
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
92
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
93
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
94
|
+
new environment.
|
|
95
|
+
|
|
96
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
97
|
+
writer or other person who contributed to the Font Software.
|
|
98
|
+
|
|
99
|
+
PERMISSION & CONDITIONS
|
|
100
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
101
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
102
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
103
|
+
Software, subject to the following conditions:
|
|
104
|
+
|
|
105
|
+
1) Neither the Font Software nor any of its individual components,
|
|
106
|
+
in Original or Modified Versions, may be sold by itself.
|
|
107
|
+
|
|
108
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
109
|
+
redistributed and/or sold with any software, provided that each copy
|
|
110
|
+
contains the above copyright notice and this license. These can be
|
|
111
|
+
included either as stand-alone text files, human-readable headers or
|
|
112
|
+
in the appropriate machine-readable metadata fields within text or
|
|
113
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
114
|
+
|
|
115
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
116
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
117
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
118
|
+
presented to the users.
|
|
119
|
+
|
|
120
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
121
|
+
Software shall not be used to promote, endorse or advertise any
|
|
122
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
123
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
124
|
+
permission.
|
|
125
|
+
|
|
126
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
127
|
+
must be distributed entirely under this license, and must not be
|
|
128
|
+
distributed under any other license. The requirement for fonts to
|
|
129
|
+
remain under this license does not apply to any document created
|
|
130
|
+
using the Font Software.
|
|
131
|
+
|
|
132
|
+
TERMINATION
|
|
133
|
+
This license becomes null and void if any of the above conditions are
|
|
134
|
+
not met.
|
|
135
|
+
|
|
136
|
+
DISCLAIMER
|
|
137
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
138
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
139
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
140
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
141
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
142
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
143
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
144
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
145
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
------------------------------------------------------------------------
|
|
149
|
+
Icon sets patched into the fonts (Nerd Fonts 3.4.0 license audit)
|
|
150
|
+
------------------------------------------------------------------------
|
|
151
|
+
|
|
152
|
+
The Nerd Fonts glyphs come from these projects, each under its own license
|
|
153
|
+
(https://github.com/ryanoasis/nerd-fonts/blob/v3.4.0/license-audit.md):
|
|
154
|
+
|
|
155
|
+
| Project | License |
|
|
156
|
+
| -------------------------------------- | --------------- |
|
|
157
|
+
| Codicons (Microsoft) | CC BY 4.0 |
|
|
158
|
+
| Devicons | MIT |
|
|
159
|
+
| Font Awesome (Fonticons, Inc.) | CC BY 4.0 |
|
|
160
|
+
| Font Awesome Extension | MIT |
|
|
161
|
+
| Font Logos | Unlicense |
|
|
162
|
+
| IEC Power Symbols | MIT |
|
|
163
|
+
| Material Design Icons | Apache 2.0 |
|
|
164
|
+
| Seti-UI (modified) | MIT |
|
|
165
|
+
| Octicons (GitHub) | MIT |
|
|
166
|
+
| Pomicons | SIL OFL 1.1 |
|
|
167
|
+
| Powerline Extra Symbols | MIT |
|
|
168
|
+
| Powerline Symbols | Free license |
|
|
169
|
+
| Weather Icons | SIL OFL 1.1 |
|
|
170
|
+
|
|
171
|
+
Attribution for the CC BY 4.0 sets: the Font Awesome icons are by Fonticons,
|
|
172
|
+
Inc. (https://fontawesome.com), and the Codicons are by Microsoft Corporation
|
|
173
|
+
(https://github.com/microsoft/vscode-codicons). Both are used unmodified apart
|
|
174
|
+
from the Nerd Fonts patching (scaling and placement in the Private Use Area),
|
|
175
|
+
under the Creative Commons Attribution 4.0 International license
|
|
176
|
+
(https://creativecommons.org/licenses/by/4.0/).
|
|
177
|
+
|
|
178
|
+
Meslo LG itself is a customized version of Apple's Menlo, which derives from
|
|
179
|
+
Bitstream Vera Sans Mono (Copyright 2003 Bitstream, Inc.).
|
package/README.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
-
#
|
|
1
|
+
# turno-fonts
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MesloLGS Nerd Font (Regular, Bold, Italic, Bold Italic) from Nerd Fonts 3.4.0: Meslo LG
|
|
4
|
+
patched with the Nerd Fonts icons, drawn full size (they spill into the space the status line
|
|
5
|
+
leaves after each icon). The turno status line draws its
|
|
6
|
+
icons with it, and `turno ui install` copies these files into your user font folder.
|
|
7
|
+
|
|
8
|
+
It is the same Nerd Fonts release Orca ships for its terminal, and Orca draws the icons at the
|
|
9
|
+
same full size, so the status line looks the same in Orca and in any terminal set to this font.
|
|
10
|
+
The `Mono` variant shrinks every icon to one cell and looks noticeably smaller. Older Nerd Fonts (2.x,
|
|
11
|
+
such as the MesloLGS NF that powerlevel10k recommends) draw several icons differently.
|
|
12
|
+
|
|
13
|
+
The files are byte for byte the ones in
|
|
14
|
+
[ryanoasis/nerd-fonts v3.4.0](https://github.com/ryanoasis/nerd-fonts/tree/v3.4.0/patched-fonts/Meslo/S);
|
|
15
|
+
`index.js` pins their SHA-256 checksums, and `turno ui install` checks them before copying.
|
|
16
|
+
|
|
17
|
+
## License
|
|
18
|
+
|
|
19
|
+
Meslo LG is Copyright 2009, 2010, 2013 André Berg, under the Apache License 2.0. The Nerd Fonts
|
|
20
|
+
icons and patcher are under the SIL Open Font License 1.1 and the MIT License. Both texts are in
|
|
21
|
+
[LICENSE.txt](LICENSE.txt). The fonts keep their own licenses; the rest of turno is under the Apache License 2.0.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/index.d.ts
ADDED
package/index.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// The font files and their checksums. Plain JavaScript on purpose: this package has no build.
|
|
2
|
+
import { fileURLToPath } from "node:url";
|
|
3
|
+
|
|
4
|
+
export const FAMILY = "MesloLGS Nerd Font";
|
|
5
|
+
|
|
6
|
+
/** Nerd Fonts release the files come from; `url` is where each one is published. */
|
|
7
|
+
export const VERSION = "3.4.0";
|
|
8
|
+
|
|
9
|
+
const UPSTREAM = `https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${VERSION}/patched-fonts/Meslo/S/`;
|
|
10
|
+
|
|
11
|
+
export const FONTS = [
|
|
12
|
+
{
|
|
13
|
+
file: "MesloLGSNerdFont-Regular.ttf",
|
|
14
|
+
url: `${UPSTREAM}Regular/MesloLGSNerdFont-Regular.ttf`,
|
|
15
|
+
sha256: "44ae9b687639c1529ecd01e5d0ae8d98f3b30cb20b02bbe4e6d9fb474c8dee36",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
file: "MesloLGSNerdFont-Bold.ttf",
|
|
19
|
+
url: `${UPSTREAM}Bold/MesloLGSNerdFont-Bold.ttf`,
|
|
20
|
+
sha256: "9799788a96066045c3f53f2e5bcbe376c6b9adb9514e3276cc84ac42d8b176d0",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
file: "MesloLGSNerdFont-Italic.ttf",
|
|
24
|
+
url: `${UPSTREAM}Italic/MesloLGSNerdFont-Italic.ttf`,
|
|
25
|
+
sha256: "3dede17df16e62abdae99ea7f13a14cbc391e2cc9429c8dfa1b5349e78758e9c",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
file: "MesloLGSNerdFont-BoldItalic.ttf",
|
|
29
|
+
url: `${UPSTREAM}Bold-Italic/MesloLGSNerdFont-BoldItalic.ttf`,
|
|
30
|
+
sha256: "734956444bc02c8ea0e7f7effe46c616f2e492734c6afe91049e4735d522542c",
|
|
31
|
+
},
|
|
32
|
+
];
|
|
33
|
+
|
|
34
|
+
export const fontsDir = fileURLToPath(new URL("./fonts/", import.meta.url));
|
package/package.json
CHANGED
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "turno-fonts",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "MesloLGS Nerd Font 3.4.0, the font the turno status line icons are drawn with, bundled with checksums.",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"author": "William Frank Monroy Mamani (https://github.com/william-monroy)",
|
|
7
|
+
"homepage": "https://github.com/wimo-dev/turno#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/wimo-dev/turno.git",
|
|
11
|
+
"directory": "packages/fonts"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/wimo-dev/turno/issues"
|
|
15
|
+
},
|
|
16
|
+
"type": "module",
|
|
17
|
+
"main": "index.js",
|
|
18
|
+
"types": "index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./index.d.ts",
|
|
22
|
+
"default": "./index.js"
|
|
23
|
+
},
|
|
24
|
+
"./package.json": "./package.json"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"index.js",
|
|
28
|
+
"index.d.ts",
|
|
29
|
+
"fonts",
|
|
30
|
+
"LICENSE.txt",
|
|
31
|
+
"CHANGELOG.md"
|
|
32
|
+
],
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public",
|
|
35
|
+
"provenance": true
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"nerd-fonts",
|
|
39
|
+
"font",
|
|
40
|
+
"meslo",
|
|
41
|
+
"statusline"
|
|
42
|
+
]
|
|
6
43
|
}
|