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

34 Commits

Author SHA1 Message Date
Fini Jastrow
6d9a7f4561 Use shorter Arch link
Use more concise link for finding Nerd Fonts Arch Linux packages

By @polyzen, see #1183

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-02 16:01:28 +02:00
Fini Jastrow
4e225e2fcf Center install hints
[why]
Mixing left and center aligned elements looks always very bad.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-30 09:21:42 +01:00
Fini Jastrow
f2a8569a0a Correct Arch links
See also #1087

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-30 08:48:18 +01:00
Fini Jastrow
4f9592107c download: Fix RFN detection for un-renamed fonts
[why]
When we do not rename a font that has the RFN flag set we do not list
the font as RFN-font.
This is for example the case with mononoki since the last commit.

[how]
Show the source font name not only when it differs but also when it is a
RFN.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-17 13:57:24 +01:00
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
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
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
Ryan L McIntyre
9f2a37c5c7
Update 2017-01-03-downloads.md
Fix instructions
2021-04-27 20:04:22 -07: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
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
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
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
72d0250174 Accesibility color fixes 2019-08-04 09:15:18 -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
2f95206c37 Setup posts to allow different pages 2019-07-23 14:36:58 -07:00
Ryan L McIntyre
971cc9e67d Adds new fonts to downloads 2018-04-02 21:48:57 -04:00
Ryan L McIntyre
729ab3783c Updates download links for v2.0.0 2018-04-02 21:45:16 -04:00
Ryan L McIntyre
539ba8942d Updates download links to be more readable 2018-04-01 10:31:19 -04:00
Ryan L McIntyre
237d886994 Mobile layout fixes and tweaks 2018-03-11 13:35:55 -04:00
Ryan L McIntyre
32164a6eb4 Adds new fonts download links for Release v1.2.0 2017-11-20 21:49:38 -05:00
Ryan L McIntyre
b87eaa23f4 Updates download links for Release v1.2.0 2017-11-20 21:44:31 -05:00
Ryan L McIntyre
be2220386e Tweaks top nav bar display on smaller screens (less content) 2017-09-25 02:22:17 -04:00
Ryan L McIntyre
a06183962f Updates download links for Release v1.1.0 2017-08-06 14:27:23 -04:00
Ryan L McIntyre
1cd71a45ff Adds features section and more tweaks 2017-04-26 19:33:34 -04:00