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

2195 Commits

Author SHA1 Message Date
Fini Jastrow
c173f661a0 docker: Transport return code to outside
Fixes: #1316

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-07-11 22:34:10 +02:00
Fini Jastrow
c0d9a22d5f Add InconsolataGo programmingfonts link
Fixes: #1313

Reported-by: Koen Lageveen <braver>
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-07-06 10:53:16 +02:00
Fini Jastrow
be013e5987 Add GohuFont programmingfonts link
Thanks to Koen Lageveen <braver>

Fixes: #1312

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-07-05 12:14:25 +02:00
Ryan L McIntyre
ef2ff04a3e
Update backers.md [skip ci] 2023-06-22 08:47:17 -07:00
Fini Jastrow
12bf79d5fe font-patcher: Fix unify logging calls [skip ci]
[why]
The debug messages appear two times.

[how]
Do not use the root logger as we can not get rid of it afterwards.
Instead set up a normal logger just for the startup and forget it after
we have a proper logger.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-14 08:39:14 +02:00
allcontributors[bot]
7039b474ca docs: update CONTRIBUTORS.md 2023-06-08 15:24:39 +02:00
allcontributors[bot]
25eb3a672b docs: update .all-contributorsrc 2023-06-08 15:24:39 +02:00
senketsu03
bd900fc380 Update readme_ru.md 2023-06-08 15:17:40 +02:00
Fini Jastrow
df626d3440 font-patcher: Unify logging calls [skip ci]
[why]
Usually the variable `logger` holds the logger object and all logging
calls got through that.

But because we use the font filename as loggername that logger object
can only be set up after the arguments have been parsed. If some
messages are to be logged before the call needs to go to the root logger
called as `logging` class.

This means one needs to take `logger` or `logging` based on the time
when someting is to be logged. That can be confusing and is easily
wrong, especially if code is shifted.

[how]
Always use the `logger` variable and just let that point to the root
logger until we set up a concrete logger.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-06 08:31:57 +02:00
lolicon0930
d3856031c8 Fix typo in font-patcher. 2023-06-06 08:31:57 +02:00
Fini Jastrow
0726e5e229 doc: Fix changelog missing item
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-05 12:47:55 +02:00
Fini Jastrow
f64ff337ac CI: Fix casks workflow
[why]
The dowload turns up empty. This is because we specify a glob while we
need to specify a regex.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-05 12:30:06 +02:00
allcontributors[bot]
8b30338b7b docs: update .all-contributorsrc 2023-06-05 12:17:46 +02:00
allcontributors[bot]
e1f2386016 docs: update CONTRIBUTORS.md 2023-06-05 12:17:46 +02:00
Fini Jastrow
d9fcdd350a Fix .all-contributorsrc [skip ci]
[why]
I broke it by manually editing with this commit:
  86b35c9d5  Add N-R-K as contributor manually

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-05 12:16:53 +02:00
Fini Jastrow
89375a650e CI: Prepare for update casks workflow run [skip ci]
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-05 12:09:20 +02:00
Fini Jastrow
d4cbb31397 Update changelog to v3.0.2 (and readme)
Drop the detailed translations because I can not keep this up to date
anyhow. Having the current options in the readme is more important I
guess. This whole translation business is a problem on its own and not
solved.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-05 12:02:16 +02:00
Finii
e19f06ddc8 [ci] Regenerate CSS files 2023-06-04 20:45:34 +00:00
Finii
9be4cddc86 [ci] Rebuild patched fonts 2023-06-04 20:36:21 +00:00
Finii
ef6fe05754 [ci] Bump release version 2023-06-04 20:32:30 +00:00
Fini Jastrow
53506dc7b5 Trigger Release 3.0.2
This is again a workflow release, after v3.0.0 and v3.0.1 which were
fully manual. Hopefully the workflow still works.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-04 18:24:10 +02:00
Finii
4151c12de9 [ci] Update FontPatcher.zip 2023-06-04 11:27:29 +00:00
Fini Jastrow
8fc3a7c15a font-patcher: Add option to suppress renaming
[why]
Sometimes a user might want to keep the original name.

This is escpecially true as Visual Studio seems to look at the font
names directly and enables special handling for 'Cascadia Code'.
Users might want to self-patch without renaming.

[how]
Add additional value to makegroups option.

That option should probably be renamed into 'naming scheme' or
something, as it is not really a fitting description of what it does.

Fixes: #1242 (some aspect of it)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-04 13:24:52 +02:00
Fini Jastrow
decb6d0e3d font-patcher: Fix crash when no xavgwidth data available
[why]
When we did not collect xavgwidth data for some font and want to tweak
it the font-patcher crashes.

[how]
Check if we have a number before accessing it in the array.

[note]
This happens when font_patcher.patch() has not been called.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-04 13:24:52 +02:00
Fini Jastrow
7a31c67670 font-patcher: Fix wrong data source
[why]
For tweaking we use the self.sourceFont, but in the loop the real
correct value is the local sourceFont. Usually it's the same, but from a
logical standpoint this is wrong.

The name is a bit unfortunate and C++ would have generated a warning.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-04 13:24:52 +02:00
Fini Jastrow
3ecf7f1ef8 font-patcher: Fix incomplete separation of naming and patching
[why]
The font_patcher object should be self contained, and code outside of it
should not depend on stuff done within it that does not have to do
anything with patching.
In fact the code should run even if font_patcher.patch() has not been
called.

[how]
Pull name backup out of the patching process.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-04 13:24:52 +02:00
Finii
0e77d86ff9 [ci] Rebuild original-source font 2023-06-02 19:20:50 +00:00
Fini
33cc7cc7ca
Merge pull request #1274 from ryanoasis/feature/CI-uses-ShellCheck
CI uses ShellCheck
2023-06-02 21:10:25 +02:00
Fini Jastrow
5eebd95456 fetch-archives: Allow to specify a regex
[why]
Now where we have zip and tar.xz archives one might want to just fetch
one specific one. So we need to have a pattern not only for the
beginning of the file name.

[how]
Enable full regexes for the filtering.
For this we need to escape blanks in the pattern/regex, that a user
might specify (./fetch-archive.sh v2.2.2 'Some Font').

[note]
This is already then used for the casks workflow, as that only needs the
zips.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 20:44:08 +02:00
Fini Jastrow
29c0d3f4e5 Seti: Correct gradle icon issues
[why]
The eye is closed in fonts.

[how]
Open in inkscape, reverse path.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 19:06:04 +02:00
Fini Jastrow
a11fa2db53 archive-fonts: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 19:06:04 +02:00
Fini Jastrow
335a38d78f install.sh: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:04 +02:00
Fini Jastrow
a519cfe3a1 i_all: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:04 +02:00
Fini Jastrow
ed4028aaaa optimize-original-source: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
6f48d00b12 copyall: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
248508e1d6 version-bump: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
3454239496 tests.sh: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
a621ded9e3 test-powerlines: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
9be8e86a2d standardize-readmes: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
a10a77bc40 gotta-patch-em: Fix various ShellCheck issues
[note]
$powerline has been removed already with commit
  96cd985b5  Drop counting variations stuff and unify readme creation

$last_current_dir has never been functional

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
fc1f816dc5 generate-sample-set: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
ad56629f40 generate-font-image-previews: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
06ba2a8a28 generate-css: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
7290f0208f casks: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
8f60f64617 fetch-archives: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
d800846365 CI: Add shellcheck
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
a3d3103014 Fix N-R-K's profile page address
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 13:41:45 +02:00
Fini Jastrow
86b35c9d5d Add N-R-K as contributor manually
Obviously the bot is not working with a name with two dashes, see
PR #1235 for my attempts :-/

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 13:27:53 +02:00
Fini Jastrow
f6f80995a1 archive-fonts: Create tar.xz packs
See #1233

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 13:09:59 +02:00
Fini Jastrow
c4a3e0249e archive-fonts: Make PWD independent
[why]
Scripts should run regardless of current working directory.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 13:09:59 +02:00