[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]
Ordinary questionmark and inverted questionmark in upstream Gohufont 14
have the same glyph name, breaking the font.
[how]
Rename the inverted questionmark to the customary "inverted" via ttx.
This just prepares the change.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
It is explicitely explained for updating fonts but not for new fonts.
[how]
Copy appropriate text passage to new fonts paragraph.
Fixes: #1655
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
When the file specified to be patched is not a font file the patcher run
errors out with an out of index runtime error:
Traceback (most recent call last):
File "/home/fini/extra/git/nerd-fonts/font-patcher", line 2155, in <module>
main()
File "/home/fini/extra/git/nerd-fonts/font-patcher", line 2147, in main
patcher.generate(sourceFonts)
File "/home/fini/extra/git/nerd-fonts/font-patcher", line 415, in generate
sourceFont = sourceFonts[0]
~~~~~~~~~~~^^^
IndexError: list index out of range
[how]
Do not assume that the specified file will be a font file but rather
check if fontforge detects a font in the file and error out if there is
no font found.
Fixes: #1647
Reported-by: Kristopher James Kent <kris@kjkent.dev>
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
When we crate the hard-monospaced Nerd Font Mono variant the ligs will
be shrunk to 1 cell wide, while the content of the `fi` lig is of course
two cells, ending up in strange overwriting issues.
[how]
Remove the `fl` and `fi` ligatures completely.
Fixes: 1631
Reported-by: @Markov-Komarov
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]
Often PRs introduce the legacy .../Bold/ etc subdirectory structure.
[how]
Make more clear that a flat directory is preferred.
Also fix several small glitches in the text.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
Improve legibility by having gaps between the gemstone surfaces.
[how]
There is no official monochrome icon. Found one free pixel one and
converted that to outline.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
Improve legibility. The full icon is in fact a multicolor icon and the
design depends on being rendered in multiple different colors. That is
impossible for fonts. So we should probably use their flat (mono-color)
icon instead, which hints the different 'flaps' through gaps instead of
colors.
[note]
Both icons (the old and the new) contradict rules given by Firebase to
use the logo. But that can not be helped in a icon font, as we just have
one color of undetermined hue.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>