1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00
Commit Graph

102 Commits

Author SHA1 Message Date
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
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
Ryan L McIntyre
460d654b30 Updates backers section 2022-10-29 04:10:16 -07:00
Fini Jastrow
9ea01d0740 Remove mentions of master branch [skip ci]
[why]
If we ever switch the default branch the links would break. So just say
'default branch' directly, whichever that may be.

[note]
CI workflows not changed, I do not know if there is an alias for the
default branch available.

Fixes: #971 (partially)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-17 12:26:18 +02:00
Michael Rienstra
53be9ba114 Direct GitHub link
... Unless you're expecting more topics to match in the future?
2022-10-09 10:26:26 +02:00
Fini Jastrow
ca5be1f435 Rename Font Linux to Font Logos
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-13 09:02:08 +02:00
Fini Jastrow
40750e7398 Correct release 2.2.2 release date
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-12 14:35:30 +02:00
Fini Jastrow
7c4c5de2dd Update some more to v2.2.2
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>
2022-09-11 22:26:58 +02:00
Fini Jastrow
bcef53dada Update cheat sheet
The file has been autogenerated with the `generate-css.sh` script in
branch `master`. Lets see if it works :-}

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-11 19:49:10 +02:00
Ryan L McIntyre
94b6c49828 Updates backers section 2022-01-05 13:19:37 -08:00
Ryan L McIntyre
141779ac21 Adds backers section and does some re-ordering 2021-12-05 14:01:42 -08:00
Ryan L McIntyre
9f2a37c5c7
Update 2017-01-03-downloads.md
Fix instructions
2021-04-27 20:04:22 -07:00
Ryan L McIntyre
f406ae3bf8 Reworks cheat sheet page to function better 2020-12-05 06:20:29 -08:00
Ryan L McIntyre
fb920fc0fd Reworks cheat sheet layout with flexbox and clean-up console.logs 2020-12-05 03:12:10 -08:00
Ryan L McIntyre
8f79ba5bf4 Improves download page DOM rendering perf
* refactored and simplified DOM elements
2020-12-05 02:25:00 -08:00
adrian5
67548f955c
Fix font preview link 2020-10-11 12:46:37 +02:00
Ryan L McIntyre
2339660a97 Font image preview fixes 2020-02-08 20:05:50 -08:00
Ryan L McIntyre
b5a4a53534 Updates all contributors 2020-02-01 18:47:25 -08:00
Ryan L McIntyre
e67a715ac8 Adds token for easy find replace updating 2020-02-01 18:19:16 -08:00
Ryan L McIntyre
a58fb5d78a Updates and centralizes statistics 2020-02-01 09:31:49 -08:00
Ryan L McIntyre
5396d14114 Adds RFN info 2020-02-01 09:21:16 -08:00
Ryan L McIntyre
8843f4d589 Adds site var for version 2020-02-01 08:43:14 -08:00
Ryan L McIntyre
fe3ba4e3b8 Updates release notes for v2.1.0 Release 2020-02-01 08:32:59 -08:00
Ryan L McIntyre
80d6a3a1f9 Fixes typo 2019-12-07 18:05:35 -08:00
Krasimir Nedelchev
76a1ee6a50
Fix link address 2019-10-18 05:17:55 +03:00
Ryan L McIntyre
ccc4621101 Hides preview link if no preview available 2019-08-24 15:01:25 -07:00
Ryan L McIntyre
99af4a1331 Tweaks preview button fonts 2019-08-24 14:43:11 -07:00
Ryan L McIntyre
fb426b344b Revamps the fonts downloads page again
* better layout and download buttons
* lots of misc tweaks
* basic flexbox layout
2019-08-18 10:23:37 -07:00
Ryan L McIntyre
abdbfb4ce4 Cheatsheet correction (fixes #285) 2019-08-15 14:40:17 -07:00
Ryan L McIntyre
d64b1e0cea Adds svg preview images to download page for all fonts (WIP) 2019-08-14 14:21:18 -07:00
Ryan L McIntyre
14fcc87f0a Adds short notable font descriptions and links to fantastic font preview site 2019-08-10 09:14:59 -07:00
Ryan L McIntyre
eec90257b9 Adds fork numbers and experiments with ads 2019-08-06 12:06:15 -07:00
Ryan L McIntyre
72d0250174 Accesibility color fixes 2019-08-04 09:15:18 -07:00
Ryan L McIntyre
16ed948ae6 Updates features section with more info and visuals 2019-08-04 04:53:29 -07:00
Ryan L McIntyre
82526936f7 SEO tweaks 2019-08-04 04:50:35 -07:00
Ryan L McIntyre
8b980497e8 More styling of downloads and WIP features section 2019-08-03 15:03:56 -07:00
Ryan L McIntyre
cd9374a75a Fixes icons on Downloads page 2019-08-02 14:12:02 -07:00
Ryan L McIntyre
a0a73c77ee Styling tweaks to home and downloads pages + JS improvements
* improves download page links and adds other download/install options
* adds some more styling to home page to be a bit more striking
* removes reliance on jQuery and rewrites most of the JavaScript
* misc formatting fixes
2019-08-01 23:57:41 -07:00
Ryan L McIntyre
6d41ea070a Adds subtitle to downloads page 2019-07-31 23:43:19 -07:00
Ryan L McIntyre
32c9e65e27 Fix missing closing tag 2019-07-28 10:43:33 -07:00
Ryan L McIntyre
bd7087a528 Clean-up 2019-07-28 10:42:00 -07:00
Ryan L McIntyre
ac6af2a4df Adds feature to be able to copy Glyph class, hex, or icon itself 2019-07-28 10:39:18 -07:00
Ryan L McIntyre
a6dab854d9 Moved and fixed images, clean-up 2019-07-27 07:01:25 -07:00
Ryan L McIntyre
359002b1da Fixes All Contributors layout and moves some assets around 2019-07-27 04:16:03 -07:00
Ryan L McIntyre
608acc7218 Simplifies the DOM structure of cheat sheet page 2019-07-26 14:31:21 -07:00
Ryan L McIntyre
8b30d255c4 Adds revamped Features section 2019-07-25 14:28:08 -07:00
Ryan L McIntyre
a71571cf27 Fixes readability (contrast ratio) 2019-07-25 14:27:33 -07:00
Ryan L McIntyre
3473536eef Tweak link size 2019-07-25 14:26:43 -07:00
Ryan L McIntyre
1740c516e8 Get off of Font Awesome reliance 2019-07-25 14:23:49 -07:00
Ryan L McIntyre
153a748613 Separate pages and refactors includes 2019-07-23 14:39:52 -07:00