mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-06 21:49:40 +02:00
Merge pull request #1722 from ryanoasis/feature/FontAwesome-scaleing
FontAwesome: Scale glyphs a bit smaller
This commit is contained in:
commit
d3bb7e2964
@ -57,7 +57,7 @@ while read -r filename; do
|
||||
|
||||
rm -f "${outputdir}/${basename}.tar"
|
||||
expected=$(find "${searchdir}" -iname "*.[ot]tf" -exec echo "+" \; | wc -l)
|
||||
if [ $expected -eq 0 ]; then
|
||||
if [ "${expected}" -eq 0 ]; then
|
||||
echo "${LINE_PREFIX} There seem to be no font files in ${basename}! Aborting!"
|
||||
exit 1
|
||||
fi
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Font Awesome (version 6.5.1, 1475 icons, 342 aliases)
|
||||
# Does not include all icons of the release
|
||||
# Codepoints: ED00-F2FF with gaps
|
||||
# Nerd Fonts Version: 3.2.1
|
||||
# Nerd Fonts Version: 3.2.0
|
||||
# Script Version: (autogenerated)
|
||||
test -n "$__i_fa_loaded" && return || __i_fa_loaded=1
|
||||
i='' i_fa_location_dot=$i
|
||||
|
Binary file not shown.
@ -93,8 +93,8 @@ for _, codepoint, file, *names in mapping:
|
||||
num_icons = len(mapping)
|
||||
|
||||
print('Generating {} with {} glyphs'.format(fontfile, num_icons))
|
||||
font.ascent = 1000
|
||||
font.descent = 200
|
||||
font.ascent = 1050
|
||||
font.descent = 250
|
||||
font.generate(os.path.join(fontdir, fontfile), flags=("no-FFTM-table",))
|
||||
|
||||
codepoints = [ int(p, 16) for _, p, *_ in mapping ]
|
||||
|
Loading…
Reference in New Issue
Block a user