Comments (9)
Well, I merged #1599, and set this to solved for the time being. We can improve at any time.
from nerd-fonts.
Thanks for the suggestion. This sounds useful and not too hard 👍
from nerd-fonts.
Do you have an idea how to express a SIL with RFN as SPDX? Just OFL-1.1-RFN
or has the reserved name to be put somewhere? 🤔
from nerd-fonts.
SO. Needed to finish the release first ;-)
I believe this is a very good idea. We here also 'pack' the Nerd Font release, as Cask, and for that
- all the archives are fetched (there is a helper script here)
- calculate all the shas
- throw away all archives
In principle the shas could be calculated earlier in the release process - when the archives are created we have them and calculating the checksum would be a breeze.
There is other 'metadata' that is strewn around in the repo, which I really hate: the config.cfg
and the config.json
(:sob:) and the almighty fonts.json
. 🤔
Your examples: Thank you for providing the direct insight.
Nice is they all seem to use the tar.xz
archives.
from nerd-fonts.
- sha256sum of the release archive
Alpine uses sha512 😬
I believe for
- original name for the font
- nerd font name of the font
- archive name
- sha256sum of the release archive
- license, as an SPDX License Expression
1, 2, and 3 (implicitely) are already in fonts.json
. Here an example entry:
{
"unpatchedName": "Bitstream Vera Sans Mono",
"RFN": true,
"version": "1.1",
"patchedName": "BitstromWera",
"folderName": "BitstreamVeraSansMono",
"imagePreviewFont": "BitstromWera Nerd Font",
"imagePreviewFontSource": "BitstreamVeraSansMono/Regular/VeraMono.ttf",
"linkPreviewFont": "bitstream-vera",
"caskName": "bitstream-vera-sans-mono",
"repoRelease": true,
"description": "Dotted zero, compact lowercase characters"
},
- original name for the font
unpatchedName
- nerd font name of the font
patchedName
- archive name
.../releases/download/v{{ site.current_version }}/{{ font.folderName }}.zip
(resp.xz
) - sha256sum of the release archive
- license, as an SPDX License Expression
from nerd-fonts.
Thanks for pointing out fonts.json - I wasn't aware of that and didn't look outside of the repo root. I think if the license expression is added there, the only bit missing is the checksum. I'm fine with that being missing though, that is something I can easily generate myself if necessary. If no one else has capacity to add the SPDX expressions, I can probably do that, but only towards the summer. My next three months are packed.
from nerd-fonts.
If no one else has capacity to add the SPDX expressions, I can probably do that, but only towards the summer. My next three months are packed.
Well, my time is also overbooked by a factor of 3 ;-D
Whatever, maybe you @jcgruenhage can have a quick look at the PR
and check if it is useful.
For special licenses (which have no identifier in the SPDX table) I added something along these lines:
@@ -834,6 +898,7 @@
},
{
"unpatchedName": "Ubuntu Sans",
+ "licenseId": "LicenseRef-UbuntuFont",
"RFN": false,
"version": "1.004",
"patchedName": "UbuntuSans",
i.e. I added a LicenseRef-
tag, but that is not resolved in the font.json
file. Well, it's not a well formed SPDX file anyhow ;-)
But maybe that is useful?
from nerd-fonts.
@Finii thanks!
from nerd-fonts.
The next release (i.e. 3.2.1) will come with a checksum file, hope that helps:
with content similar to this (here the release contained just 3 fonts to make the test faster)
Any comment @jcgruenhage ? Thank you!
from nerd-fonts.
Related Issues (20)
- BlexMono: doesn't work in Windows HOT 6
- [MonospiceNe NFM] VS Code does not allow 'Mono' font as terminal font HOT 12
- Just found a typo on wiki HOT 3
- Lucide icons solid HOT 3
- Add maple font HOT 1
- CaskaydiaCove Nerd Font -- "Arrow" Ligature HOT 12
- U+276F prompt character (❯) got smaller between 3.1.1 and 3.2.1 HOT 11
- Increase in FA icon size 3.2.0 to 3.2.1 HOT 7
- Semi-Systematic Logo-Addition Evaluation HOT 2
- Font request: Space Grotesk HOT 1
- Should CaskaydiaCove (nerd version of Cascadia) be replaced with the official nerd version? HOT 2
- Large glyphs in MesloLGS NF for catppuccin/tmux HOT 2
- Glyph e27f (nf-fae-atom) in "Cascadia Code NF" is filled in some areas where it should not be HOT 1
- Incorrect (?) width of glyph(s) in RobotoMono Font HOT 1
- Missing 1px line at the top of upper-left and upper-right triangles HOT 13
- ShureTechMono "fi" text overlap. HOT 10
- Deprecation warning for `appcast` in `font-sourcecodepro-nerd-font` HOT 4
- Update 0xProto to 2.0 HOT 1
- Homebrew/cask-fonts will soon be deprecated HOT 2
- Tilde character in Inconsolata font looks off HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nerd-fonts.