mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-13 17:18:37 +02:00
328b8a2d22
[why] When we add a custom glyph (or want to update Seti) the process is rather laborious and we are needed to change the font and the accompanying `i_seti.sh` in sync. [how] We use a data file to map icon (svg) filenames to codepoints and readable names. That file is parsed and the font and info file is created (overwritten in the repo); and could then be easily committed. This can be a CI workflow. Having a dedicated mapping file (`icons.tsv`) enables us to have stable codepoints for the same symbol over time. Changes in codepoint allocation can be checked in git. Having the font autogenerated help guarantee that the icons are all likely scaled. We rescale them all to the same size and mid-position. That is not needed for font-patcher, because it rescales and shifts again based on to-be-patched font metrics. But it certainly is better for a view into the original-source font. Sizes and position are still roughly equivalent to the hand positioned glyphs. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de> |
||
---|---|---|
.. | ||
scripts |