This step adds just the stuff generated via script in the master branch.
See pairing commit in the gh-pages branch:
Date: Wed May 3 17:54:44 2023 +0200
generate-css: Create cheat sheet with removed icons
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Update the cheat sheet to v3.0.0 but also show the removed icons of
v2.3.3. That style is .nfold (read: nf-old) and it is just hacked in.
I believe it can be removed later on, with 3.1.0 or something at least.
We also need the old (removed) icons as a font to display them despite
being removed. A small helper script 'archives' just the dropped glyphs
into a new webfont.
The script can be removed afterwards, this is a single run, archiving
the dropped after v2.3.3 icons.
See pairing commit in master branch:
Date: Wed May 3 17:54:44 2023 +0200
generate-css: Create cheat sheet with removed icons
[note]
Also remove unused `nerd-fonts-generated.css`, wich confuses me every
time. It's sufficient to have it in the master branch for people, we do
not use it here.
f
[why]
When people want to use the Symbols-Only webfont that we use for the
website directly (without hosting the css/woff files themselves) they
probably need a stub to access our css.
I have no clue what consequences this has for our traffic, and probably
we need to remove this if problems come up.
Origin of this is a request via gitter:
Mikle-Bond (Michael)
Hello! I have a request about webfont. Can you make the
nerd-fonts-generated{,.min}.css files available via
https://www.nerdfonts.com/assets/css/ ? So that users could
reference them directly and have SymbolsOnly variant of the
font with classes names.
I have found this [not linked here] message from a month ago,
[in fact 2 years and 1 month] and my request could help that
person too. They were having problem, as nerd-fonts-generated.css
is only available via githubusercontent.com at the moment, and
it doesn't point correctly to the font file. But it does so for
nerdfonts.com website, after it gets bundled into combo.css.
[how]
Make nerd-fonts-generated.min.css availabe directly as
https://www.nerdfonts.com/assets/css/webfont.css.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
A lot of the previews used some fallback font.
[how]
The generator script has been fixed in 'master'.
Now pushing the changed previews here.
Note: Because of some name changes we need to update the fonts.json too.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
The Symbols Only font is listed two times on the downloads page.
It has no preview (and even no real visible name).
[how]
After changing generate-font-image-previews.sh [1] we can now generate a
preview for the Symbols Only font. Put it here manually, with up to date
fonts.json database file.
[1]:
0e434c2b9 generate-font-image-previews: Fit svg canvas to drawing [skip ci]
2597b4ef3 generate-font-image-previews: Generate Symbols Only preview
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
They are needed for the updates cheat sheet to display the new icons :-)
[how]
Manual run of new script `generate-webfonts.sh` which is now added to
the release workflow.
[note]
Also remove ttf version of the font, as it is used nowhere on our page.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
f
Ok, I was a bit lazy with the release notes, ... but who reads them
instead of the release pages?
[note]
inkscape ... does not need -f anymore as it seems.
Also I had to do the automated steps manually, which works.
Automation does not work, though.
Script `./generate-font-image-previews.sh`
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This is not yet automated.
Generated v2.2.2 font opened with fontforge and afterwards with defaults
generated to woff and woff2.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
The Iosevka image is somehow broken, the dots of `i` and `j` are
shifted. Maybe the tool to generate the image had a problem with the
partially broken Iosevka font? With current tools but the same v2.1.0
font there is no problem.
[how]
Create the image with generate-font-image-previews.sh. But I have no
`svgo` (svg optimizer), so it is unoptimized.
Also afterwards scale the 'page' down and save as plain svg in
Inkscape.
Fixes: 865
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>