Commit graph

475 commits

Author SHA1 Message Date
Fini Jastrow
6e361d40ca cheat-sheet: Allow click to copy on hex value
[why]
We removed the functionality with the previous commit and replaced it
with 'copy the UTF16 code' (needed for codepoints > u_FFFF).

But people might want to have the possibility to easily (by click) copy
the codepoint hex number.

[how]
Add highlighting on the hex number and allow clicking to copy the value.

[note]
The tooltip will be added in the cheat-sheet generator.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-25 19:43:59 +01:00
Fini Jastrow
bae34d36a1 cheat-sheet: Copy UTF16 instead of raw hex code
[why]
For people using JSON they need the UTF16 codes.

While 4-digit values are no problem the new Material Design Icons code
can not be used.

[how]
Copy the UTF16 values instead of the full codepoint value (as hex
string).

Fixes: #1059

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-25 17:04:03 +01:00
Fini Jastrow
f3607558a5 Update for 2.3.3 release
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-24 20:00:25 +01:00
Finii
ac55e5a1d9 [ci] Update webfonts 2023-01-24 16:11:30 +00:00
Finii
e600f44f77 [ci] Regenerate CSS files 2023-01-24 16:11:28 +00:00
Fini Jastrow
7b77daaca8 Update for 2.3.2 release
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-23 19:03:59 +01:00
Finii
842cdd0f18 [ci] Update webfonts 2023-01-23 19:03:59 +01:00
Finii
2e058a5564 [ci] Regenerate CSS files 2023-01-23 14:55:50 +00:00
Fini Jastrow
c1f69c880f Update Sankey diagram
See commit in master branch:
  337a2a27  Update sankey diagram

Note: Also update _config.yml (!)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-23 13:34:43 +01:00
Fini Jastrow
9ac253b9ee Update for 2.3.0 release
Don't forget to remove the 'details open' for past releases.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-18 12:44:58 +01:00
Fini Jastrow
a302a97fc7 [ci] Update webfonts
Done manually because release workflow had a bug on release.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-18 11:29:35 +01:00
Fini Jastrow
e5a622c13f [ci] Regenerate Cheat Sheet
Done manually because release workflow had a bug on release.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-18 11:28:42 +01:00
Fini Jastrow
a3fae4ce04 [ci] Regenerate CSS files
Done manually because release workflow had a bug on release.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-18 11:27:17 +01:00
GitHub Actions
d3ab98d7f6 [ci] Sync fonts.json 2023-01-17 14:45:46 +00: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
GitHub Actions
7ca49bc12f [ci] Sync fonts.json 2023-01-17 12:40:06 +00:00
Fini Jastrow
f532d7ab35 Revert "DEBUG: Check 5 digit Cheat Sheet"
This reverts commit 76c705a30d.
2023-01-16 23:57:40 +01:00
Fini Jastrow
76c705a30d DEBUG: Check 5 digit Cheat Sheet
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-16 23:54:07 +01:00
Fini Jastrow
97ff7ca374 Update Symbols Only font preview
[why]
The Symbols Only font is listed two times on the downloads page.
It has no preview (and even no real visible name).

[how]
After changing generate-font-image-previews.sh [1] we can now generate a
preview for the Symbols Only font. Put it here manually, with up to date
fonts.json database file.

[1]:
0e434c2b9  generate-font-image-previews: Fit svg canvas to drawing [skip ci]
2597b4ef3  generate-font-image-previews: Generate Symbols Only preview

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-12-19 21:20:21 +01:00
Fini Jastrow
a7810a53d0 Adapt scss to new icon sizes
[why]
The icon sizes (in EM) changed a bit, so we need to decrease the display
size to make the icon not-overlap the text.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-12-16 19:42:10 +01:00
Fini Jastrow
851be7dcda Regenerate CSS files
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-12-16 19:42:10 +01:00
Fini Jastrow
03f5e75670 Update webfonts
[why]
They are needed for the updates cheat sheet to display the new icons :-)

[how]
Manual run of new script `generate-webfonts.sh` which is now added to
the release workflow.

[note]
Also remove ttf version of the font, as it is used nowhere on our page.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>

f
2022-12-16 19:41:10 +01:00
Fini Jastrow
7fe81d2552 Update Cheat Sheet
[why]
The automatic release process updates the CSS files, but not the Cheat
Sheet file. This has been fixed by commit
  3de381d5a  CI: Automatically deploy Cheat Sheet

[how]
Do this one more time manually (do not want to trigger a release
workflow).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-12-16 15:03:10 +01:00
GitHub Actions
a63d317063 [ci] Sync fonts.json 2022-12-14 08:46:17 +00: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
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