[why]
It went unnoticed now at least 2 times that a release is budgered
because the patch start and end have not been adjusted after expansions.
[how]
Add an --experimental feature that checks the actually patched-in number
of glyphs versus the number of glyphs claimed in the i_*.sh files.
If the new flag is given:
Output the findings. Abort run when mismatch.
Fixes: #2056
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
The previous change was not quite sufficient... a lot stuff has been
forgotten.
commit 6c5f2ad4 casks: Switch to tar.xz archives
Fixes#2041Fixes#1918
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This is so seldom used, what I want always changes.
Now we have a two step thing, that lists all stuff first
and after installing the fonts we can generate.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
generate-css.sh also creates glyphnames.json, and a current one of that
is needed for the font-patcher, i.e. gotta-patch-em
The font-patcher-zip release has been missing.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
I always struggle to get the artifacts downloaded when releasing,
because I usually need them before the release has been published. Then
the links are different and some authorization is needed.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
When the fonts or the subdirectory structure of a font is changed that
will leave some 'old' files and/or directories in the patched-fonts/
directory. The archiver will try to pack them all and bails out.
In fact on a RELEASE we can safely purge always, because the complete
structure will be regenerated anyhow. The problem with purging exists
only when working locally and patching only some font files.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
The unsorted order how the fonts are processed can be confusing, esp if
you want to guess where we are and how log it will still take.
[how]
Sort all found filenames.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
When we added D2Coding we did not correctly determine the license and
worked as if it was OFL-1.1-no-RFN, but in fact it has an RFN clause and
is OFL-1.1-RFN.
So we need to rename the font when it is patched.
[how]
This commit expands the SIL_TABLE in the `font-patcher` so that any
patching substitutes `D2Coding` with `D2Koding`.
Related discussion with upstream:
https://github.com/ryanoasis/nerd-fonts/discussions/1968#discussioncomment-17807000
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>