Commit graph

2359 commits

Author SHA1 Message Date
Fini Jastrow
19c4162241 font-patcher: Fix crash if no roman characters
[why]
When we can not detect the cell width, for example because there are no
glyphs in the range of extrended-roman that we examine, the width will
be zero and that will result in a crash later on (on rescaling).

[how]
Just abort if height or width are zero or negative.

Related: #1460

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-12-18 15:30:24 +01:00
allcontributors[bot]
ee6d42f27f docs: update .all-contributorsrc 2023-12-18 15:14:15 +01:00
allcontributors[bot]
7c75be041e docs: update CONTRIBUTORS.md 2023-12-18 15:14:15 +01:00
Fini Jastrow
8423b72241 query_name: Show more names
Also change code to be somehow more elegant?

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-27 09:05:33 +01:00
allcontributors[bot]
264d672179 docs: update .all-contributorsrc 2023-11-26 21:16:07 +01:00
allcontributors[bot]
c17199e12b docs: update CONTRIBUTORS.md 2023-11-26 21:16:07 +01:00
Fini Jastrow
00d02f84b8 query_name: Add compatible fullname
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-26 20:12:09 +01:00
Finii
7b41c66a1e [ci] Regenerate CSS files 2023-11-26 17:57:57 +00:00
Finii
91d8a283d3 [ci] Regenerate fontconfig 2023-11-26 17:57:21 +00:00
Finii
e984b63dca [ci] Rebuild patched fonts 2023-11-26 17:52:22 +00:00
Finii
b16e67d625 [ci] Bump release version 2023-11-26 17:49:56 +00:00
Fini Jastrow
8de3a8dccf Trigger Release 3.1.1
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-26 16:18:06 +01:00
cpea2506
a58d12d6b2 [ci] Rebuild original-source font 2023-11-26 16:06:53 +01:00
CPea
39528869ef Add TOML icon 2023-11-26 16:06:53 +01:00
Fini Jastrow
1211904df1 Revert "name-parser: Unify abbreviations in family names"
This reverts commit d3ee35db8e.

The font name helper tools is kept.
2023-11-26 16:02:57 +01:00
Fini Jastrow
0e30425dc6 Revert "name-parser: Revert file name change"
This reverts commit 784e892575.
2023-11-26 16:02:57 +01:00
Fini Jastrow
3f2de8da0f Monaspace: Add Light weight
Fixes: #1433

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-22 13:54:11 +01:00
Fini Jastrow
701233bf3b casks: Correct Aurulent's cask name
[why]
History of the cask name:

It started as font-aurulentsansmono-nerd-font.rb, named by us (Nerd Font)
ecdf756a62

Then it has been dash-i-fied font-aurulent-sans-mono-nerd-font.rb
e8c2732486

Then just one year ago the Nerd Font release CI got an overhaul and I
(personally) put in font-aurulent-nerd-font.rb, despite the fact that I
did look up all cask names and put them into a 'database' in our CI:

  c8cb5c7  casks: Hardcode cask names in fonts.json

[how]
Drop the wrong cask name (font-aurulent-nerd-font.rb) and use the more
correct and older one (casks: Hardcode cask names in fonts.json)

[note]
See also
https://github.com/Homebrew/homebrew-cask-fonts/pull/8704

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-22 08:14:56 +01:00
hasecilu
04e9f571ab Update end codepoints on testing script
- Updates the range for Pomicons and Font Logos fonts.
2023-11-21 20:33:33 +01:00
Fini Jastrow
219eeab2e0 Update Sankey diagram
[why]
Typo ....

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 20:13:06 +01:00
Fini Jastrow
aba94adcd0 Update Sankey diagram
[why]
Seti+custom and Font-Logos got more icons.

[how]
Just edit svgz file

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 20:07:35 +01:00
Fini Jastrow
3281c6dc82 doc: Update README font-patcher options
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-21 17:39:38 +01:00
allcontributors[bot]
8dc1ecdc04 docs: update .all-contributorsrc 2023-11-21 17:34:04 +01:00
allcontributors[bot]
4a4c137639 docs: update CONTRIBUTORS.md 2023-11-21 17:34:04 +01:00
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