mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-11-25 16:47:37 +02:00
CI: Fix: Automatically deploy webfonts [skip ci]
[why] From the name we used the non-Mono Symbols font for the webfonts. But in the Cheat Sheet we want to display the icons all in nice boxes, all with the same size. That is not the case for the non-Mono font, here all glyphs are unscaled and thus do not match each other. [how] Use the Nerd Font Mono variant for the webfont, as the icons here all have the same size and are surrounded by their bounding box, making working with them a lot easier. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
aef01c4f4f
commit
3b1329aefb
@ -15,5 +15,5 @@ if [ ! -d "${webfontdir}" ]; then
|
||||
mkdir "${webfontdir}"
|
||||
fi
|
||||
|
||||
fontforge -lang=ff -c "Open(\"${patched_dir}/${font_file}.ttf\"); Generate(\"${webfontdir}/${font_file}.woff\")"
|
||||
fontforge -lang=ff -c "Open(\"${patched_dir}/${font_file}.ttf\"); Generate(\"${webfontdir}/${font_file}.woff2\")"
|
||||
fontforge -lang=ff -c "Open(\"${patched_dir}/${font_file} Mono.ttf\"); Generate(\"${webfontdir}/${font_file}.woff\")"
|
||||
fontforge -lang=ff -c "Open(\"${patched_dir}/${font_file} Mono.ttf\"); Generate(\"${webfontdir}/${font_file}.woff2\")"
|
||||
|
Loading…
Reference in New Issue
Block a user