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

2285 Commits

Author SHA1 Message Date
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
Fini Jastrow
9f03f35490 fonts.json: Fix some wrong entries
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-13 15:37:29 +01:00
Fini Jastrow
529ca23e67 generate-font-image-previews: Add new fonts
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-13 14:52:43 +01:00
Fini Jastrow
406078e819 Begin writing 3.1.0 release notes (WIP)
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-13 13:05:51 +01:00
Finii
67d5b56ac4 [ci] Update .gitignore file 2023-11-13 11:14:03 +00:00
Fini
c48942dde0
Merge pull request #803 from ryanoasis/feature/Add-Iosevka-Term-Slab
Add Iosevka Term Slab
2023-11-13 12:11:39 +01:00
Fini Jastrow
154edc0e9b Iosevka Term Slab: Correct release mechanism
[why]
New fonts do not get a in-repo release anymore.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-13 12:10:32 +01:00
Fini Jastrow
2198da4a5d Iosevka Term Slab: Reduce number of weights
[why]
We have a lot of weights, probably not all useful for terminal usages.

[how]
Use more current fetching script and limit number of weights.
Also drop the directory substructure.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-13 12:03:06 +01:00
allcontributors[bot]
9f51810c82 docs: update .all-contributorsrc 2023-11-12 00:34:19 +01:00
allcontributors[bot]
d95c9e63db docs: update CONTRIBUTORS.md 2023-11-12 00:34:19 +01:00
Fini Jastrow
6e21392fa3 doc: add skryukov as a contributor for code
Somehow the allcontributors thing failed

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-12 00:30:04 +01:00
allcontributors[bot]
6aef8cf4e9 docs: update .all-contributorsrc 2023-11-12 00:15:49 +01:00
allcontributors[bot]
53e0765b38 docs: update CONTRIBUTORS.md 2023-11-12 00:15:49 +01:00
Finii
809944cbbe [ci] Update FontPatcher.zip 2023-11-11 23:11:26 +00:00
Fini
61ab5c0739
Merge pull request #1406 from ryanoasis/bugfix/visualstudio2022
Bugfix for Visual Studio 2022
2023-11-12 00:09:13 +01:00
Fini Jastrow
784e892575 name-parser: Revert file name change
[why]
It is better to have a not-abbreviated file name so that one can make
sense out of the name parts, especially when doing a partial patch.
With the previous commit we ended up with all abbreviated names.

The filename length is hopefully not limited, at least not as severe as
the SFNT table entries.

[how]
We need to store the answers somewhere because the naming is only
understood by the FontnameParser object which we throw away soon.
As fallback we still can parse the SFNT table, for example when the old
renaming is used.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 23:59:59 +01:00
Fini Jastrow
d3ee35db8e name-parser: Unify abbreviations in family names
[why]
Because the newer Preferred/Typographic names ID 16 and ID 17 have not
a very demanding length limit we add the long form of the name
addendum (i.e. Nerd Font, Nerd Font Mono, Nerd Font Propo).

In the more restricted old names ID 1 and ID 2 we use the short forms
(i.e. NF, NFM, NFP).

This seems to be problematic with Visual Studio (Community) 2022 and the
fonts can be selected but are not really used.

The Postscript family name is never shortened which seems to be of no
consequence, but still is different than the other.

[how]
When creating the Preferred/Typographic Family (ID 16) we check the
shortening mode first and abbreviate the parts as needed and alike ID 1.

This will also change the filenames, because they base on the SFNT
table. We can not change that without changing the whole mechanism.

[note]
Also add new tool that lists all names of fonts, including the
Postscript ones.

Fixes: #1242

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 23:59:07 +01:00
Fini Jastrow
4579b496ef Martian: Tweak naming
[why]
With Martian Mono we have a font that uses aggressive abbreviation for
the weights and styles (two letters mostly) in all name fields. That is
very hard to parse.

[how]
We rewrite the filenames such that it contains all the necessary information
and use the new patcher flag use the filename as naming source.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 23:57:02 +01:00
Fini Jastrow
178cda0629 font-patcher: Allow filename as naming source
[why]
With Martian Mono we have a font that uses aggressive abbreviation for
the weights and styles (two letters mostly) in all name fields. That is
very hard to parse.

[how]
Adding rules that detect these very short abbreviations might trigger in
a lot wrong places. As this is the only font that uses that we do not
want to risk that.

Instead we rewrite the filenames of the source font (Martian Mono) such
that it contains all the necessary information and add a new flag to the
patcher that allows it to use the filename as naming source.
Yes, as in days long past ;-)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 23:57:02 +01:00
Fini Jastrow
693ac495b3 Martian: Drop many weights and adapt paths
SemiWide and Narrow might be nice in some contexts, but that is not
really the audience of Nerd Fonts I guess.

Lets start with few and we can always add more if there is really a
demand.

Simplify the paths; the old style stems from the time when we patched
all variants per source font. Nowerdays the fonts are few (3 per source)
and will almost always be installed together anyhow.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 23:57:02 +01:00
Fini Jastrow
e5447baed1 Martian: Fix docs
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 23:57:02 +01:00
Svyatoslav Kryukov
7175558c09 Add Martian Mono 2023-11-11 23:57:02 +01:00
Fini Jastrow
565d91ce95 Lilex: Clean up patched font dir
[why]
We dropped the subdirectories and that might or might not be handled
gracefully by the release workflow.

[how]
Just flatten out of the in-repo release directory.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 16:15:43 +01:00
Fini Jastrow
4e4300220b Update Lilex to 2.300
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 16:15:43 +01:00
Fini Jastrow
99cbcd1354 Update Lilex to 2.200
Apart from all the usual fixes and expansion in the source font the
weight metadata has been fixed.

Fixes: #1333

Reported-by: LeoniePhiline
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 16:15:43 +01:00
Fini Jastrow
66a24ef283 doc: Fix Geist version in readme
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 15:53:56 +01:00
Finii
00ea77e2eb [ci] Update .gitignore file 2023-11-11 14:51:43 +00:00
QuiiBz
65d82d6c99 feat: update Geist Mono to 1.0.1 2023-11-11 15:49:37 +01:00
QuiiBz
46e6a89da3 fix: review comments 2023-11-11 15:49:37 +01:00
QuiiBz
56d0558403 feat: add Geist Mono 2023-11-11 15:49:37 +01:00
Finii
56dcb7f234 [ci] Update .gitignore file 2023-11-11 14:49:06 +00:00
Fini Jastrow
7b8b6ce115 0xProto: Add license
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 15:47:15 +01:00
Fini Jastrow
33234b92bc 0xProto: Use unified readme style
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 15:47:15 +01:00
piraces
ac6b663915 Add font: 0xProto
Co-authored-by: Fini <ulf.fini.jastrow@desy.de>
2023-11-11 15:47:15 +01:00
allcontributors[bot]
b2e1019fae docs: update .all-contributorsrc 2023-11-11 15:46:43 +01:00
allcontributors[bot]
8c99b50d01 docs: update CONTRIBUTORS.md 2023-11-11 15:46:43 +01:00
Fini Jastrow
72c335de1a Update M PLUS
They renamed
    M Plus Code Latin          -> M Plus Code Latin50
    M Plus Code Latin Expanded -> M Plus Code Latin60

The versioning is rather divers, add more information into the font
specific README file.

Fixes: #1333

Reported-by: LeoniePhiline
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 15:44:36 +01:00
Finii
d9189098de [ci] Rebuild original-source font 2023-11-11 14:40:10 +00:00
Fini Jastrow
68283f0ac0 fennel: Fix svg stroke/path
[why]
Fonts can only work with paths. The svg has strokes and objects that
render incorrect.

[how]
Convert everything to path than combine all paths.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 15:36:45 +01:00
Grazfather
9a34c22d05 Add glyph for fennel 2023-11-11 15:36:45 +01:00
Fini Jastrow
e87b3488d2 Noto: Fix (remove) fi ligature
[why]
Noto Sans-Mono still has a one-advance wide 'fi' ligature.

This should have been fixed by commit
  d9f7dbe23  Prepatched fonts: Revive some ligature removal

but obviously has been overlooked.

[how]
Add its fi-lig subtable to the remove list for all Noto fonts.

Fixes: #1400

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-06 12:36:15 +01:00
Fini Jastrow
a78dcd7fdb Improve created Contributors web-page
[why]
When viewed on a small screens the contributors page on the gh-pages
looks not very nice and overflows.

[how]
Instead of a table with a predefined number of rows we just use blocks
in an inline context that allows the line break to adjust to the
available width.

Fixes: #1399

Reported-by: Vitthal Gund <@VitthalGund>
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-01 17:20:38 +01:00