Commit graph

451 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
Fini Jastrow
29d411e502 Remove wrong fonts.json
[why]
The file must be a leftover from some broken CI run.
The actual fonts.json is in _data/.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-11-26 10:51:37 +01:00
Ryan L McIntyre
460d654b30 Updates backers section 2022-10-29 04:10:16 -07:00
GitHub Actions
d2a31c3ce1 [ci] Sync fonts.json 2022-10-18 18:52:31 +00:00
GitHub Actions
328a9646b6 [ci] Sync fonts.json 2022-10-18 17:14:43 +00: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
Finii
c0be1d3f63 [ci] Regenerate CSS files 2022-10-07 12:05:18 +00: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
3fb5cafd3d Update sankey diagram
See PR #928

We also need the .png here. Export to png with default settings.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-12 17:28:38 +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
50251224d9 Update fonts to v2.2.2
This is not yet automated.

Generated v2.2.2 font opened with fontforge and afterwards with defaults
generated to woff and woff2.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-11 20:03:18 +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
Fini Jastrow
6ed248b2d3 Hotfix CSS font name
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-11 17:09:55 +02:00
Finii
546e184740 [ci] Regenerate CSS files 2022-09-11 16:30:28 +02:00
Fini Jastrow
7ac107f07a Remove obsolete cheat-sheet file
[why]
At least with commit
  9327191  Transitioning from css to scss with compression

the file became obsolete and the compacted 'min' version is used
instead.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-11 14:47:11 +02:00
Fini Jastrow
02a9c5622d previews: Update Iosevka image
[why]
The Iosevka image is somehow broken, the dots of `i` and `j` are
shifted. Maybe the tool to generate the image had a problem with the
partially broken Iosevka font? With current tools but the same v2.1.0
font there is no problem.

[how]
Create the image with generate-font-image-previews.sh. But I have no
`svgo` (svg optimizer), so it is unoptimized.
Also afterwards scale the 'page' down and save as plain svg in
Inkscape.

Fixes: 865

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-07-16 16:08:33 +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
f531f91b08
Merge pull request #618 from mdellabitta/patch-1
Spelling fixes
2021-05-02 15:24:29 -07:00
Michael Della Bitta
d191c4251f
Spelling fixes
Just a few things I ran into. Thanks for your work
2021-05-02 11:46:00 -04:00
Ryan L McIntyre
9f2a37c5c7
Update 2017-01-03-downloads.md
Fix instructions
2021-04-27 20:04:22 -07:00
Ryan L McIntyre
921769c278 Hide scrollbar and parent element if no results, minor fixes 2020-12-05 06:44:04 -08: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
f9ccf1c4a0 Adds feature flag and turns of adwords for now 2020-12-05 02:36:08 -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
Ryan L McIntyre
a602c0d540
Merge pull request #533 from adrian5/patch-2
Fix font preview link
2020-11-12 21:57:41 -08:00
adrian5
67548f955c
Fix font preview link 2020-10-11 12:46:37 +02:00
Ryan L McIntyre
640f013240 Regenerated preview images 2020-02-09 19:57:26 -08:00
Ryan L McIntyre
2339660a97 Font image preview fixes 2020-02-08 20:05:50 -08:00
Ryan L McIntyre
f044957572 Fixes broken download links 2020-02-08 19:58:14 -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
4e006e77c2 Added new fonts to data json and generated image previews 2020-02-01 09:17:44 -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
9073590f6e Adds cache dir 2020-02-01 08:21:47 -08:00
Ryan L McIntyre
80d6a3a1f9 Fixes typo 2019-12-07 18:05:35 -08:00
Ryan L McIntyre
3d8093001b
Merge pull request #385 from kaykayehnn/fix-link
Fix link address
2019-10-17 19:56:17 -07:00
Krasimir Nedelchev
76a1ee6a50
Fix link address 2019-10-18 05:17:55 +03:00
Ryan L McIntyre
b4690f5c1e Updates preview images on downloads page 2019-09-08 08:12:43 -07: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
9d9352bbf8 Updates Blex info and image 2019-08-24 14:42:19 -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