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

606 Commits

Author SHA1 Message Date
Fini Jastrow
b5bf856738 Update cheat sheet WITH removed icons (step 2)
This step adds just the stuff generated via script in the master branch.

See pairing commit in the gh-pages branch:
    Date:   Wed May 3 17:54:44 2023 +0200
    generate-css: Create cheat sheet with removed icons

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-04 12:44:46 +02:00
Fini Jastrow
01af9e8ab5 Update cheat sheet WITH removed icons
Update the cheat sheet to v3.0.0 but also show the removed icons of
v2.3.3. That style is .nfold (read: nf-old) and it is just hacked in.
I believe it can be removed later on, with 3.1.0 or something at least.

We also need the old (removed) icons as a font to display them despite
being removed. A small helper script 'archives' just the dropped glyphs
into a new webfont.
The script can be removed afterwards, this is a single run, archiving
the dropped after v2.3.3 icons.

See pairing commit in master branch:
    Date:   Wed May 3 17:54:44 2023 +0200
    generate-css: Create cheat sheet with removed icons

[note]
Also remove unused `nerd-fonts-generated.css`, wich confuses me every
time. It's sufficient to have it in the master branch for people, we do
not use it here.

f
2023-05-04 11:24:19 +02:00
GitHub Actions
c7ac5f7364 [ci] Regenerate contributors 2023-05-03 19:44:35 +00:00
Fini Jastrow
5d8c40d343 Fix typo in release summary
See #1201

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-03 21:43:43 +02:00
GitHub Actions
2aacf59a70 [ci] Regenerate contributors 2023-05-03 07:55:14 +00:00
GitHub Actions
278d2b1fd5 [ci] Regenerate contributors 2023-05-02 14:35:15 +00:00
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
GitHub Actions
31889ef495 [ci] Sync fonts.json 2023-05-01 13:16:28 +00:00
Fini Jastrow
ee9fe35a9b Update Sankey diagram
[why]
The Octicons got expanded.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-01 15:06:16 +02:00
Fini Jastrow
634e151ca7 cheat-sheet: Add remark that update is still pending
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-01 00:39:44 +02:00
Fini Jastrow
92cbd5fd13 Update information for v3.0.0
Manually, because this changed so much, and some is still not clear how
to handle.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-01 00:30:42 +02:00
GitHub Actions
627f8a2b42 [ci] Sync fonts.json 2023-04-27 16:59:47 +00:00
Fini Jastrow
7d265161f0 Make Symbols-Only webfonts available stand alone
[why]
When people want to use the Symbols-Only webfont that we use for the
website directly (without hosting the css/woff files themselves) they
probably need a stub to access our css.

I have no clue what consequences this has for our traffic, and probably
we need to remove this if problems come up.

Origin of this is a request via gitter:

Mikle-Bond (Michael)
  Hello! I have a request about webfont. Can you make the
  nerd-fonts-generated{,.min}.css files available via
  https://www.nerdfonts.com/assets/css/ ? So that users could
  reference them directly and have SymbolsOnly variant of the
  font with classes names.

  I have found this [not linked here] message from a month ago,
  [in fact 2 years and 1 month] and my request could help that
  person too. They were having problem, as nerd-fonts-generated.css
  is only available via githubusercontent.com at the moment, and
  it doesn't point correctly to the font file. But it does so for
  nerdfonts.com website, after it gets bundled into combo.css.

[how]
Make nerd-fonts-generated.min.css availabe directly as
https://www.nerdfonts.com/assets/css/webfont.css.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-23 10:26:03 +02:00
GitHub Actions
de7539d6ed [ci] Regenerate contributors 2023-04-13 07:18:44 +00:00
Matthew Toohey
b0c3f57348 Fix codepoint copy 2023-04-13 09:09:30 +02:00
GitHub Actions
8d09587e84 [ci] Regenerate contributors 2023-04-08 16:56:35 +00:00
GitHub Actions
3757eff299 [ci] Regenerate contributors 2023-03-25 11:44:26 +00:00
Fini Jastrow
9498b255f6 Regenerate Cheat Sheet and CSS
[why]
After the glyph name fix done with commit
    7e2d38b55  Fix some glyph names

we need to update the actual cheat sheet and CSS files.

[how]
Manually commit data from `generate-css.sh` run here.

Related: #1147

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-12 21:26:05 +01:00
GitHub Actions
a455c6aca1 [ci] Regenerate contributors 2023-02-17 09:09:08 +00:00
GitHub Actions
b075008565 [ci] Regenerate contributors 2023-02-12 15:02:48 +00:00
GitHub Actions
ce3eee0ca1 [ci] Regenerate contributors 2023-02-11 23:27:32 +00:00
GitHub Actions
a973b8d84c [ci] Regenerate contributors 2023-02-02 06:57:09 +00:00
Fini Jastrow
b7e6854074 Regenerate Cheat Sheet
[why]
Needs update because we changed the cheat-sheet generator script.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-02-01 13:44:39 +01:00
Fini Jastrow
4452ceee5c Add possibility to add "obsolete" to glyphs
[why]
The (old) Material Design Icons are to be removed.
We should communicate that on the Cheat Sheet.

[how]
Add class that displays a red top-right triangle with text.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-02-01 13:13:16 +01: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
b07b161123 Update all font previews
[why]
A lot of the previews used some fallback font.

[how]
The generator script has been fixed in 'master'.
Now pushing the changed previews here.

Note: Because of some name changes we need to update the fonts.json too.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-30 08:13:27 +01:00
Fini Jastrow
b0eaf52cf8 Sync .gitignore
[why]
Switching back and forth from master to gh-pages shows not-ignored
files...

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-30 08:13:27 +01:00
Fini Jastrow
bc285ffc49 Update all-contributors
[why]
Update from main repo to gh-pages was broken or is manual.
Changed update script.

[how]
Let script (new) run manually. To see if it works.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-27 15:13:58 +01:00
Fini Jastrow
eda8f0b517 cheat-sheet: Copy UTF16 with '\u'
[why]
Makes it even more easy to use, as the '\u' prefix seems to be quite
standard, e.g. for 'echo', 'printf', and even RFC4627.

Reference: #1059

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-26 10:34:30 +01:00
Fini Jastrow
8914909ad5 Regenerate Cheat Sheet
[why]
Needs update because we changed the cheat-sheet generator script.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-25 20:07:35 +01:00
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