nerd-fonts/bin/scripts
Fini Jastrow 821ac68173 Create symbols only font directly from sfd template
[why]
The symbol only fonts Symbols-1000-em Nerd Font Complete.ttf
and 2048-em in `NerdFontsSymbolsOnly/` are generated from
some 'almost' empty source fonts, that are assumable in turn generated
from the sfd font descriptions in `src/glyphs/`?

The process is not documented and we have issues in the generated font
(for example the glyph for capital `E` is defined (and empty) #581 #765).

[how]
Use the existing font definitions from `src/glyphs/*.sfd` directly as
source font. That needs a change in font-patcher because the empty
fonts have no glyphs that can be used to orient the scaling upon. In
that case scale on the source font definitions EM.

Then we need patch-em-all to also patch *.sfd fonts.

And finally we need patch-em-all to take a font specific command line
switch for font-patcher (compare 9e2bc9a26 of #723) to instruct it to
create a ttf rather than a sfd font file.

In the sfd file we additionally set the Panose type.
And the UnderlinePosition is adjusted to match the current patched font.

[note]
Also fix wrong glob pattern in patch-em-all `*.[o,t]tf`. The comma is
for sure some leftover from a '{}' shell pattern, that is not used
anymore. (This comment is probably outdated, due to rebasing.)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-08-20 19:33:29 +02:00
..
Hack Updates scripts in preparation for for v2.1.0 2019-11-03 09:08:39 -08:00
lib CI: Add Lilex to release 2022-08-20 18:28:04 +02:00
archive-font-patcher.sh Fixes use of archive, archive patcher and cleanup 2022-01-03 00:53:22 -08:00
archive-fonts.sh Tweaks and improvements to archive and upload scripts to work in actions 2021-11-21 07:29:23 -08:00
css-header.txt Adds notice that font path needs to be changed 2017-07-29 21:21:56 -04:00
docker-entrypoint.sh Merge branch 'master' into docker 2021-11-26 18:13:11 -08:00
fpfix.py add combined prefix to fpfix.py 2017-05-19 03:11:58 -05:00
generate-casks.sh Updates scripts in preparation for for v2.1.0 2019-11-03 09:08:39 -08:00
generate-css.sh Updates scripts in preparation for for v2.1.0 2019-11-03 09:08:39 -08:00
generate-font-image-previews.sh Updates script to use json data file instead of fc-list 2019-09-12 14:22:39 -07:00
generate-fontconfig.sh Updates scripts in preparation for for v2.1.0 2019-11-03 09:08:39 -08:00
generate-glyph-info-from-set.py Updates scripts in preparation for for v2.1.0 2019-11-03 09:08:39 -08:00
get-font-names-from-json.sh RC: use all fonts for matrix 2022-01-03 05:50:16 -08:00
gotta-patch-em-all-font-patcher!.sh Create symbols only font directly from sfd template 2022-08-20 19:33:29 +02:00
release.sh Updates scripts in preparation for for v2.1.0 2019-11-03 09:08:39 -08:00
standardize-and-complete-readmes.sh Updates scripts in preparation for for v2.1.0 2019-11-03 09:08:39 -08:00
test-fonts.sh Updates scripts in preparation for for v2.1.0 2019-11-03 09:08:39 -08:00
test-powerlines.sh Updates scripts in preparation for for v2.1.0 2019-11-03 09:08:39 -08:00
tests.sh Updates scripts in preparation for for v2.1.0 2019-11-03 09:08:39 -08:00
update-all-contributors-website.py Adds a very basic script to update all contributors section on the website 2020-04-06 01:02:15 -07:00
upload-archives.sh Setup release action to pull version from file and commit back upon patching 2021-12-24 03:07:20 -08:00
version-bump.sh Workflow for building release candidate 2021-11-21 09:05:02 -08:00