[why]
There are still the annoying vertical colored lines sometimes that turn
up due to subpixel rendering.
[how]
Add "landing platforms" to the big triangular glyphs (E0B8, E0BA, E0BC,
E0BE) and flames (E0C0, E0C2).
The landing platform is approx 7% wide (based on one-cell width, assuming
the glyphs are all rendered 2 cells wide for the "xy2" ones).
Increase the overlap width for patching to 5%.
See also:
Merge request #1551
Merge request #1419
Commit 5e285867
Commit a8b9e1daFixes: #1629 (well, not the top problem which is unfixable)
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
After we added the possibility to process font archives (.ttc) we lost
the ability to process woff and woff2 fonts.
It seems woff(2) files show no font names in fontforge, see
https://github.com/fontforge/fontforge/issues/1964
[how]
Open woff(2) files differently.
Fixes: #1647 (further down)
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why]
Somehow a wrong Font Logos font is commited.
"River" at F381 missing.
[how]
Download font from Font Logos Release page and add that.
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]
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>