[why]
With the latest release the numbers were just changed (in the svg) but
the flow graph stayed the same. The relative proportions can now look a
bit out of place.
[how]
Completely regenerate the graph from the Sankey generator.
Afterwards some manual adjustments to get the color and the position
right (in Inkscape).
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
I am not sure why this is wrong, maybe someone renamed the Cask?
Ah, here it is:
87e1c59a2b
[how]
Follow the renaming done by Homebrew.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
The Cask-fonts repo has been incorporated into the main Cask repo.
On releases we would use an obsolete repository to create the Cask into.
The casks are now in a dedicated subdirectory (Casks/font) and under that
we have one subdirectory for each font name starting character (to have a
smaller number of files per directory I assume).
[how]
Change the repository path.
Put part of the new (longer) path, the fixed part, just in the CI process,
while the generator script takes care about the one-directory-per-startchar
substructure.
Fixes: #1635
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
$ ./generate
Program root: /usr
Reading mapping file
Found 496 entries
Unpacking Devicons archive
Mixing Vorillaz Devicons and possible fixes in
Found 1688 svgs
Bad RGB color spec: rgb(0%,0%,0%)
Bad RGB color spec: rgb(0%,0%,0%)
Bad RGB color spec: rgb(0%,0%,0%)
Bad RGB color spec: rgb(0%,0%,0%)
Using fixed svg for angularjs-plain.svg
Using fixed svg for awk-plain.svg
Bad RGB color spec: rgb(0%,0%,0%)
Using fixed svg for bash-plain.svg
Bad RGB color spec: rgb(25.882353%,12.156863%,37.254902%)
Using fixed svg for llvm-plain.svg
Bad RGB color spec: rgb(9.411765%,71.372549%,96.470588%)
Generating devicons.ttf with 496 glyphs
Generating GlyphInfo i_dev.sh
Finished
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
The glyphnames in the font files are sometimes off. We take them from
the symbol source/font and ofter they are empty or even plain wrong (esp
if we move to other codepoints).
[how]
We have the list of all glyphnames that is generated by collecting all
data from the i_*.sh files. When patching we take this information now
and use it if appropriate.
Make sure the glyphname.json file is included in our zip patcher release
and also in the Docker image. It will run as before if the file can not
be found or is invalid etc.
Suggested-by: Ulices <hasecilu@tuta.io>
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
sqlite is referred to as sqllite (with two L).
[how]
Correct i_dev and rebuild css and glyphnames via generate-css.sh
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
archive-fonts.sh:60:10: note: Double quote to prevent globbing and word splitting. [SC2086]
Although the variable can not hold multiple words, it is better to
always quote.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
With Nerd Fonts v3.2.0 Font Awesome was updated to 6.5.1.
A lot icons got replaced and so the scaling was completely different
then with the old Font Awesome version as the icons were different.
Some complained that the new icons were to small, so that was fixed with
Nerd Fonts v3.2.1, where the size was increased by "approx 10%".
Now this seems a bit on the big side, so we decrease the size a bit.
[how]
v3.2.0 EM 1400 relative size 1.00
v3.2.1 EM 1200 relative size 1.17
v3.3.0 EM 1300 relative size 1.08
So we go to 92% of v3.2.1, i.e. -8% in height.
Note that the original change with v3.2.1 was +17% instead of the
intended 10% :-(
That 10% was just "some random number out of the blue".
Related: #1588Fixes: #1614
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
If someone uses the SymbolsOnly font that person is likely to also like
the fontconfig setup file.
Fixes: #1713
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
If there are no font files (e.g. in a font that is not released in repo)
the call succeeds but creates an archive with just the README and no
fonts.
[how]
Fail with an error if not at least one font file is packaged.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
In some abnormal circumstances a README of the previous font can end up
in the next font's archive.
[how]
Remove the README file always directly after packaging.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
The fonts where we are allowed to keep the font name despite the RFN
clause in the license have nothing mentioning of RFN or the exception in
the readmes. But it is recommended (required?) by SIL to inform users of
that exception in a most transparent way.
[how]
Add that bit of information to the readme files in the patched-fonts
directories and the release archives.
[note]
Also some other information seemed to be missing, by the complete
rebuild of the readme it also got updated (Gohu/ProFont).
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
Sometimes people like to call the scripts from any directory and do not
want to change into the bin/scripts/ directory first.
[how]
Just access the lib files relative to the cheatsheet script file.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
With Terminess the regex needs to match literal parens, this has been
misunderstood with the last commit.
[how]
Revert the previous commit for Terminess, and use a raw string as
solution instead (because we usually use raw strings for regexes).
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
Some strings have broken format, because the string should contain a
verbatim backslash.
It seems this is a new warning for Python 3.12
[how]
Use raw strings or escape the escape character via '\\'
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
The previous change(s) removed executing the config.cfg **shell script**
which would pull in some environment variables like `post_process`.
With that change the appropriate option has to be given with the
commandline value of the new config.cfg **INI** file.
[how]
Remove defunct leftover code.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
The config files are called `config.json` while the contents is
INI-like. The usual extension would be `.cfg`.
[how]
We use `.cfg` already for the shell variable configuration.
Combine both config file variants into one (real) cfg file, that is
directly read by the font-patcher and no shell variables files are used
anymore.
This needs some rewrite in gotta-patch-em to get the quoting right.
To make this simpler we remove the `--debug 1` option from the variable
and insert it directly (as it is applied always anyhow).
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
It can be hard to find out which license a particular font is using.
Therefore we add a new field to the fonts.json with an SPDX license
identifier (if possible).
[how]
For fonts with a license that has no SPDX identifier we use a free
`LicenseRef-*` identifier, but that reference is not solved in the
fonts.json file.
[note]
Also correct some licensing info given in the license audit.
Related: #1578
Suggested-by: Jan Christian Gruenhage <jan.christian@gruenhage.xyz>
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
Has double entries.
This has been detected by generate-css that got that check recently.
[how]
Use new generator script.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
When the to be examined font has the same glyph with multiple unicode
codepoints (altuni) the generated list will include the icon multiple
times (with the same name).
[how]
Use glyphs only at their main codepoint.
Also modernize the code a bit.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>