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

2385 Commits

Author SHA1 Message Date
Felix Yan
d618aa4dfb Update Arch Linux repository in readme.md
It's now in [extra] repository.
2023-11-21 17:33:07 +01:00
Fini Jastrow
8780f0f61a 0xProto: Fix cask name
must be all lower case, always.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 17:27:20 +01:00
Fini Jastrow
d7ec2036d4 casks: Allow for new reduced naming [skip ci]
[why]
For the fix in commit
  d3ee35db  name-parser: Unify abbreviations in family names

we dropped the alternative Family name with 'Nerd Font' in the cases
where the ID1/2 Family is just 'NF' (and equivalents).

The current cask generator will not find the family then anymore.

[how]
Also allow 'NF' as string, but that might trigger in the wrong places,
so not so nice.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 16:29:55 +01:00
Fini Jastrow
fc61e44268 CI: Prepare for update casks workflow run [skip ci]
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 16:10:40 +01:00
Fini Jastrow
9bbe31d61b Add small tool to create release artefact table
Usage is a bit ... hard, because we need to do this before the release
is published.

Download the complete artifact zip archive from the release-drafting
run.

Unpack it into the repository (will end up in patched-fonts/)

Pack all archives with archive-fonts.sh

Then use this tool to extract the names and sizes of the artifacts.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 15:02:39 +01:00
Finii
4b0b2d9822 [ci] Update FontPatcher.zip 2023-11-21 12:27:41 +00:00
Fini Jastrow
2d3a904a46 GeistMono: Correct naming
[why]
Some styles have a too long name:

ERROR: ====-< Family (ID 1)      too long (34 > 31): GeistMono Nerd Font Propo SemiBold

[how]
Turn on abbreviation.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 13:24:03 +01:00
Fini Jastrow
b0b4c34524 Monaspace: Fix naming
[why]
When shortening the rare gases names to the element symbol
Radon is named 'Rd' while it should be 'Rn'.
Atomic number 86 on the periodic table.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 11:55:54 +01:00
Finii
a74f913206 [ci] Regenerate CSS files 2023-11-21 10:31:12 +00:00
Finii
79724834e9 [ci] Regenerate fontconfig 2023-11-21 10:30:25 +00:00
Finii
4ebce7f8a3 [ci] Rebuild patched fonts 2023-11-21 10:25:29 +00:00
Finii
298f0b53ad [ci] Bump release version 2023-11-21 10:23:08 +00:00
Finii
8143767d98 [ci] Update .gitignore file 2023-11-21 07:30:43 +00:00
Fini Jastrow
fd6f192a99 Fix font.json
An obvious typo. Maybe we need to test the json when changing?

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 08:27:03 +01:00
Fini Jastrow
39ad6d89a2 Trigger Release 3.1.0
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 08:14:51 +01:00
Fini Jastrow
14a0dbd0b6 doc: Update changelog
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 08:14:44 +01:00
Finii
f36b654ad0 [ci] Update FontPatcher.zip 2023-11-21 07:02:17 +00:00
Fini Jastrow
3146f080ec font-patcher: Increase version after new glyphs added
* Font Logos update
* Core set got two more

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 07:59:37 +01:00
Finii
616d5a6413 [ci] Rebuild original-source font 2023-11-21 07:59:37 +01:00
Fini Jastrow
151c362cd7 Add Lisp glyphs
[why]
We have no lambdas :-}

[how]
Icons used as suggested in the PR, but fixed some bugs in common-lisp
manually.

Fixes: #351

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 07:59:37 +01:00
Finii
86f1713570 [ci] Update FontPatcher.zip 2023-11-21 06:01:22 +00:00
Fini Jastrow
4c82de8eb8 doc: Remove ancient (out of date) preview fragments
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 06:58:45 +01:00
hasecilu
7940f26928 Update Font Logos to 1.1.1
[why]
The font-logos project has been updated including 67 new icons, in which
are included GNU/Linux distributions, desktop environments, window
managers, desktop applications, some organizations and more.

Now the used range is F300-F372, 115 available logos.
2023-11-21 06:58:45 +01:00
Finii
8c55bba829 [ci] Update .gitignore file 2023-11-19 21:51:35 +00:00
Fini Jastrow
f4e5cabcc2 Monaspace: Add preview link
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-19 22:49:09 +01:00
Finii
9326915202 [ci] Update FontPatcher.zip 2023-11-19 21:29:50 +00:00
Fini Jastrow
1b7679ebc7 Monaspace: Small forgotten changes
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-19 22:22:11 +01:00
Finii
55fc87047b [ci] Update .gitignore file 2023-11-19 21:10:07 +00:00
Fini
5d999cd571
Merge pull request #1405 from julien-blanchon/add-github-monaspace
Add Githubnext Monaspace
2023-11-19 22:07:42 +01:00
Fini Jastrow
c56530c874 Finalize replacement name of Monaspace
After the working draft name Monispace the final patched font name will
be Monaspice.

* It keeps the characteristic `Mona` in the beginning
* It changes just one character
* The replacement is still a real word
* The replacements sounds very similar

Also other very good names have been suggested, thank you all for the
input!

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-19 22:06:56 +01:00
Finii
1f83dad386 [ci] Update FontPatcher.zip 2023-11-16 17:51:52 +00:00
Fini
307e2ad9bf
Merge pull request #1419 from ryanoasis/bugfix/powerline-glyph-overlap
Increase Powerline glyph overlap
2023-11-16 18:49:21 +01:00
Fini Jastrow
a8b9e1da06 Increase Powerline overlap (only triangle)
[why]
We still fight with the faint lines on the big side of the powerline
glyphs. They come from the LCD antialiasing mode that has problems with
the borders.

Other fonts use far more overlap. We use only a modest amount of overlap
(2% of the width).

[how]
As the other fonts do, increase the overlap (to 7% now). We could not do
that before, because we had no full-hight 'landing platforms' on the
outsides and so the triangle would look cut off at not 100% hight.

Now with the landing platforms we can increase the overlap and still
have nice looking triangles that visibly reach the top and bottom of the
line.

Implement this only for the filled triangles to see how it goes.

Related: #1245

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-16 18:35:53 +01:00
Fini Jastrow
e75fc6d7d7 Simplify Waveform glyphs
[why]
The waveform glyphs E0C8 and E0CA have an incredable amount of points
and rendering is rather expensive.

It turned out that it has a hairline ourline, that will be invisible
anyhow.

[how]
Remove the Hairline, reducing the number of points to 1/3.

[note]
See #1245

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-16 18:10:09 +01:00
Fini
30e8c31ad6
Merge pull request #1416 from dnoice/patch-1
Update nerd-fonts-generated.css
2023-11-16 17:46:37 +01:00
Finii
aff975187c [ci] Update .gitignore file 2023-11-16 16:46:20 +00:00
Fini Jastrow
b13b0e1d96 Cascadia Mono: Finishing touches
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-16 17:43:52 +01:00
Fini Jastrow
baa690e785 Cascadia Mono: Rehint
CascadiaCode: Rehint and use ttf

[why]
A lot people (read: People on Windows) have the variable font (VF) version of
Cascadia Mono installed - it comes bundled with Windows Terminal.

The static Cascadia Mono instances that Microsoft releases are hinted
with ttfautohint which creates small sized glyphs that are visibly very
different. People compare the static Caskaydia Mono with the VF Cascadia
Mono and are surprised.

[how]
We need to re-hint all the fonts, to get hints that are comparable
to the VF hints. We can not use the hints of the VF because the outlines
are different: The VF has (of course) overlapping outlines, while the
static ones (as usual) have not.

The re-hinting can be done with VTT or TTH - both showed results that
are more like the original VF font. The usual ttfautohint has been used
of the static fonts in the font release and can not be used. It is the
reason for this whole problem.

* Used VTT 6.35
* Open font file in VTT
* Import all programs
* Generate 'VTT talk' via Tools -> AutoHint -> LightLatinAutoHint
* Save font file as ...

References:
https://github.com/microsoft/cascadia-code/issues/371
https://learn.microsoft.com/en-us/typography/tools/vtt/

See also commit
  b6301e5 CascadiaCode: Rehint and use ttf

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-16 17:43:52 +01:00
Fini Jastrow
b7e9e5f445 WIP: Add Cascadia Mono
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-16 17:43:52 +01:00
Fini Jastrow
477a0eb2ee css: Correct 'speak' change location
This reverts commit b1d437b122.
Because that changed a generated file.

The generator is changed instead with the changes added here.
2023-11-14 13:40:11 +01:00
Dennis
b1d437b122
Update nerd-fonts-generated.css
The speak property is not widely supported and is currently not a standard property. If you're using it to prevent screen readers from reading certain elements, a more standard approach is to use the aria-hidden="true" attribute in your HTML.

This will hide the span with the class nf from screen readers. This is a more widely supported and standard way of controlling how screen readers interact with your elements.
2023-11-14 04:21:35 -08:00
Fini Jastrow
d84e7bcecf fonts.json: Fix small syntactic divergence
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-13 17:52:42 +01:00
Fini Jastrow
7a1e163d2a doc: Update changelog
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-13 17:47:18 +01:00
Fini Jastrow
26f3d0ecc4 generate-font-image-previews: Fix warning
in generate-font-image-previews.sh line 22:
    if [ "$imagePreviewFont" != "$patchedName Nerd Font" -a "$imagePreviewFont" != "$patchedName NF" ]; then
                                                         ^-- SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.

For more information:
  https://www.shellcheck.net/wiki/SC2166 -- Prefer [ p ] && [ q ] as [ p -a q...

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-13 17:36:37 +01:00
Finii
9ed4f3405d [ci] Update .gitignore file 2023-11-13 16:33:43 +00:00
Fini Jastrow
5972beffe2 Add D2Coding
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-13 17:31:14 +01:00
Finii
0ec768691a [ci] Update .gitignore file 2023-11-13 16:19:35 +00:00
Fini Jastrow
6fdde00776 Add CommitMono
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-13 17:16:40 +01:00
Finii
0e961c1100 [ci] Update .gitignore file 2023-11-13 14:47:40 +00:00
Fini Jastrow
b33cf53bd9 generate-font-image-previews: Allow from shortened name
[why]
When we changed the naming for Visual Studio all the name entries use a
shortened name if the font needs the shortened name for the ID1/2
names.

This means sometimes the family name ends in NF and there is no
differing (long) family name anymore.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-13 15:37:29 +01:00