1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00
nerd-fonts/_posts/2017-01-03-downloads.md
Fini Jastrow 76ebfee144 download: Allow patched and unpatched name to differ with blanks
[why]
We detect if a font has a reserved font name RFN by comparing unpatched
and patched names.

In the patched names we remove blanks from the original name, example
"BigBlue Terminal" -> "BigBlueTerminal Nerd Font"

In the fonts.json database we store "BigBlueTerminal" as `.patchedName`.
For our RFN detection we need to set the `.unpatchedName` also to
"BigBlueTerminal", which is strictly speaking not correct.

[how]
Compare `.unpatchedName` and `.patchedName` without taking the blanks into
account: Remove them before comparing.

[note]
This is needed to finally have the correct original names in the
database, which will be used for the Casks creation.

[note]
Also unify the shell commands (remove whitespaces).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-11-26 11:37:40 +01:00

2.3 KiB

title short_title bg color fa-icon page
Fonts Downloads Fonts #1E5D8A white download font-downloads

Downloads

{% for font in site.data.fonts.fonts %}
{% assign upN = font.unpatchedName | split: " " | join: "" %} {% assign pN = font.patchedName | split: " " | join: "" %} {% if upN != pN %}
• Reserved Font Name: {{ font.unpatchedName }}
{% endif %}
• Info: {{ font.description }}
Download {% if font.linkPreviewFont != false %} Preview on ProgrammingFonts.org {% endif %}
{% endfor %}

Other Download & Install Options

Homebrew

brew tap homebrew/cask-fonts &&
brew install --cask font-<FONT NAME>-nerd-font

:// curl

```sh curl -fLo " Nerd Font Complete.otf" \ https://github.com/ryanoasis/nerd-fonts/raw/HEAD/patched-fonts//complete/%20Nerd%20Font%20Complete.otf ```

Bash Install Script

```sh ./install.sh ```

Unofficial Arch User Repository (AUR)