mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-19 20:12:52 +02:00
01af9e8ab5
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
11 lines
420 B
Bash
Executable File
11 lines
420 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# See commit message that introduces this file :-}
|
|
|
|
# assets/fonts/Symbols-2048-em Nerd Font Complete v233.woff2
|
|
|
|
font_src="Symbols-2048-em Nerd Font Complete.woff2"
|
|
font_dest="Symbols-2048-em Nerd Font Complete v233.woff2"
|
|
webfontdir="assets/fonts"
|
|
|
|
fontforge -lang=ff -c "Open(\"${webfontdir}/${font_src}\"); Select(0xf500, 0xffff); SelectInvert(); Cut(); Generate(\"${webfontdir}/${font_dest}\")"
|