nerd-fonts/_posts/2017-01-03-downloads.md
Fini Jastrow 4f78d65627 download: Fix RFN detection
[why]
Sometimes we change the font name just because ... reasons, without
having being oblieged to do that because of a reserved font name (RFN)
clause.

This is for example the case with M+ that we rename to MPlus (well, it
has both names in principle, but the human readable name in the original
fonts in M+).

Another is "Go Mono" that we rename to "Go-Mono" for whatever reason.

This would also have been needed when `Fira Code` was still RFN and we
got the special permission to patch it without dropping `Fira Code` from
the name (see [1]), to create the correct tagged list.
But Fira Code dropped the RFN some time ago, so no need for this font
anymore.

This also prevents our own Symbols Only fonts to be listed as having RFN.

[how]
But an explicit field into the fonts.json database if the font has an
RFN or not, and decide upon that.

[1] https://github.com/tonsky/FiraCode/issues/767

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

59 lines
2.4 KiB
Markdown

---
title: "Fonts Downloads"
short_title: "Fonts"
bg: '#1E5D8A'
color: white
fa-icon: download
page: font-downloads
---
<h1 class="center">Downloads</h1>
<div class="d-flex flex-row flex-wrap align-items-stretch justify-content-betweeen justify-content-aroundd justify-content-center">
{% for font in site.data.fonts.fonts %}
<div class="item">
<a href="https://github.com/ryanoasis/nerd-fonts/releases/download/v{{ site.current_version }}/{{ font.folderName }}.zip" class="font-preview" style="background-image: url('/assets/img/previews/{{ font.imagePreviewFont }}.svg')">
</a>
{% assign upN = font.unpatchedName | split: " " | join: "" %}
{% assign pN = font.patchedName | split: " " | join: "" %}
{% if upN != pN %}<div><strong>&bull; {% if font.RFN == true %}Reserved{% else %}Original{% endif %} Font Name:</strong> {{ font.unpatchedName }}</div>{% endif %}
<div><strong>&bull; Info:</strong> {{ font.description }}</div>
<div class="nerd-font-buttons-wrapper">
<a href="https://github.com/ryanoasis/nerd-fonts/releases/download/v{{ site.current_version }}/{{ font.folderName }}.zip" class="inlineblock bg-green border-white text-white nerd-font-button nf-fa-download">Download</a>
{% if font.linkPreviewFont != false %}
<a href="https://www.programmingfonts.org/#{{ font.linkPreviewFont }}" target="_blank" alt="Full Preview of {{ font.patchedName }} on ProgrammingFonts.org" class="inlineblock bg-purple border-white text-white nerd-font-button nf-oct-link_external">Preview on ProgrammingFonts.org</a>
{% endif %}
</div>
</div>
{% endfor %}
</div>
<div class="clear"></div>
<h2 class="center"> Other Download & Install Options </h2>
<h3 class="center"> <span></span> Homebrew </h3>
```sh
brew tap homebrew/cask-fonts &&
brew install --cask font-<FONT NAME>-nerd-font
```
<h3 class="center"> :// curl </h3>
<div markdown="1">
```sh
curl -fLo "<FONT NAME> Nerd Font Complete.otf" \
https://github.com/ryanoasis/nerd-fonts/raw/HEAD/patched-fonts/<FONT_PATH>/complete/<FONT_NAME>%20Nerd%20Font%20Complete.otf
```
</div>
<h3 class="center"> <span></span> Bash Install Script </h3>
<div markdown="1">
```sh
./install.sh <FontName>
```
</div>
<h3 class="center"> <span></span> Unofficial Arch User Repository (AUR) </h3>
<div markdown="1" class="center">
See: [Nerd Fonts Packages](https://aur.archlinux.org/packages/?K=nerd-fonts&SB=p)
</div>