nerd-fonts/.github/workflows
Fini Jastrow 73ae4a96b4 CI: Optimize original glyph svgs
[why]
Often the SVGs are rather detailed and result in a big
original-source.otf, which then again results in bigger than needed
patched fonts.

[how]
Typically people suggest using svgo to make SVGs smaller, but that just
tackles the representation of the icon, i.e. the actual svg file. That
does not help us at all. We do not need small svg files, we need simple
icons with few points and lines. svgo does not have that capability.

Instead Inkscape's 'Simplify' is used. Repeated use can destroy a glyph,
so we need a scale down margin to stop 'over-simplification'.

The values given for the margin at the moment are purely empirical, the
current glyphs survive repeated use of the new simplification script and
still look good.

The resultant original-source.otf file size is approximately similar to
the previously achieved by Ryan's manual work.

[note]
We need a newer Inkscape, thus update to Ubuntu 22.04

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-19 16:08:22 +02:00
..
docker-release.yml CI: Fix hopeless-docker prevention 2022-08-26 19:31:48 +02:00
font-patcher.yml Merge pull request #806 from ryanoasis/feature/ci-use-2022-fontforge 2022-08-23 09:43:36 +02:00
packsvgs.yml CI: Optimize original glyph svgs 2022-09-19 16:08:22 +02:00
release.yml CI: Do not fetch on add-and-commit 2022-09-11 16:41:12 +02:00