1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00
nerd-fonts/bin/scripts
Fini Jastrow f17700946c Add script to create sample set
[why]
After changing something in the patch process it is unclear if all the
prepatched fonts will look ok later. It would be nice to produce one
font from each input font (and not the complete set of each of the faces
of that font) to have some hopefully representative example how symbols will
blend into the font.

[how]
Add a script with explicit list of representative fonts.
Evaluate the config.cfg and execute one patcher run.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-12 13:21:20 +02:00
..
data cheat-sheet: Add hint for webfont.css 2023-05-04 12:42:14 +02:00
lib [ci] Rebuild original-source font 2023-05-11 18:04:07 +02:00
name_parser name-parser: Fix REGULAR bit of fsSelection 2023-05-10 16:50:50 +09:00
archive-font-patcher.sh Start release v3.0.0 2023-04-27 21:57:22 +02:00
archive-fonts.sh archive-fonts: Fail if something is amiss 2023-04-30 21:00:46 +02:00
docker-entrypoint.sh Merge branch 'master' into docker 2021-11-26 18:13:11 -08:00
fetch-archives.sh Start release v3.0.0 2023-04-27 21:57:22 +02:00
fpfix.py add combined prefix to fpfix.py 2017-05-19 03:11:58 -05:00
generate-casks.sh generate-casks: Fix for nameing changes 2023-05-01 11:10:01 +02:00
generate-css.sh generate-css: Create cheat sheet with removed icons 2023-05-04 12:42:14 +02:00
generate-extraglyphs.py Start release v3.0.0 2023-04-27 21:57:22 +02:00
generate-font-image-previews.sh Switch from ComicMono to ComicShannsMono 2023-04-30 15:41:59 +02:00
generate-fontconfig.sh Start release v3.0.0 2023-04-27 21:57:22 +02:00
generate-glyph-info-from-set.py Start release v3.0.0 2023-04-27 21:57:22 +02:00
generate-original-source.py generate-original-source: Increase icon size 2023-05-11 18:04:07 +02:00
generate-sample-set.sh Add script to create sample set 2023-05-12 13:21:20 +02:00
generate-webfonts.sh Fix webfont generator 2023-04-28 18:30:06 +02:00
get-font-names-from-json.sh Start release v3.0.0 2023-04-27 21:57:22 +02:00
gotta-patch-em-all-font-patcher!.sh gotta-patch-em: Fix wrong config setting 2023-05-12 13:21:20 +02:00
optimize-original-source.sh Start release v3.0.0 2023-04-27 21:57:22 +02:00
README.md Add script to create sample set 2023-05-12 13:21:20 +02:00
release.sh Add missing steps to dummy "release" script 2023-04-28 18:30:06 +02:00
standardize-and-complete-readmes.sh standardize: Fix missing READMEs 2023-04-30 20:58:42 +02:00
test-fonts.sh Start release v3.0.0 2023-04-27 21:57:22 +02:00
test-powerlines.sh Start release v3.0.0 2023-04-27 21:57:22 +02:00
tests.sh Start release v3.0.0 2023-04-27 21:57:22 +02:00
update-all-contributors-website.py Rewrite update-contributors 2023-01-27 15:19:20 +01:00
version-bump.sh Start release v3.0.0 2023-04-27 21:57:22 +02:00

Contents

Note: Usually you need to call the scripts in this directory while actually being in this directory (i.e. pwd = .../nerd-fonts/bin/scripts).

  • archive-font-patcher.sh: Archives the font patcher script and subscripts and the required source glyph files [1]
  • archive-fonts.sh: Creates the release zip file of one or more font(s) from existing patched-fonts/ content [1]
  • data/: Contains plain text files used to generate the CSS and cheat sheet files
  • data/sankey/: Contains instructions on how to create the sankey glyph table manually [3]
  • docker-entrypoint.sh: This script is packaged into the docker container and is usually used to start patching [2]
  • fetch-archives.sh: Script to download the release zip archives [6]
  • fpfix.py: Can be used to set isFixedPitch property in a font [x]
  • generate-casks.sh: Generates cask files for fonts from data in archives/ [6]
  • generate-css.sh: Generates the Nerd Fonts CCS, which can be used to access the glyphs on a web page, and the Cheat Sheet [1]
  • generate-extraglyphs.py: Generates extraglyphs.sfd from Hack Regular [4]
  • generate-fontconfig.sh: Generates font configuration to enable use of unpatched fonts with Symbols Only Nerd Font [1]
  • generate-font-image-previews.sh: Generates the preview images for nerdfonts.com (i.e. gh-pages) [3]
  • generate-glyph-info-from-set.py: Generate the i_xxx.sh file from a glyph source (font) file, if the glyphs are named correctly [4]
  • generate-original-source.py: Generate original-source.otf from single glyph svgs. [5]
  • generate-sample-set.sh: Generate one patched font file from each source font (for manual checks) [4]
  • generate-webfonts.sh: Generate woff and woff2 font files from the SymbolsOnly font (for the gh-pages) [1]
  • get-font-names-from-json.sh: Helper to setup the CI font matrix from data/fonts.json [1]
  • gotta-patch-em-all-font-patcher!.sh: Patch one or more fonts 'complete' with and without mono and with and without windows compat [1]
  • Hack/: Special additional post patching script for Hack, invoked via Hack's config.cfg (not used when self-patching)
  • lib/: See its own README
  • name_parser/: Suite to set up sane Family and SubFamily names, used by font-patcher (on demand)
  • optimize-original-source.sh: Run all icons in src/svgs through inkscape to simplify (remove nodes and edges) [5]
  • release.sh: Rough process how a release is created, not used (see .github/workflows/release.yml)
  • standardize-and-complete-readmes.sh: Used by gotta-patch-em-all-font-patcher!.sh
  • test-fonts.sh: Print-to-debug all glyphs we patch in [4]
  • test-powerlines.sh: Print-to-debug powerline examples [4]
  • tests.sh: Create some font usage gif movie? [x]
  • update-all-contributors-website.py: Update the contributors page on nerdfonts.com (i.e. gh-pages) [7]
  • version-bump.sh: Change version number in all scripts on a new release [1]

[1] Used by CI (github release workflow) [2] Used by CI (github docker-release workflow) [3] To be used manually (sigh) [4] To be used manually [5] Used by CI (github packsvgs workflow) [6] Used by CI (github casks workflow) [7] Used by CI (github contributors workflow) [x] Probably not used by anything