mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-01 16:55:57 +02:00
Updates build patcher to use new flags/options
This commit is contained in:
parent
26ea118d77
commit
3c128eee3b
@ -83,6 +83,14 @@ function patch_font {
|
|||||||
source "$config_parent_dir/config.cfg"
|
source "$config_parent_dir/config.cfg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f "$config_parent_dir/config.json" ]
|
||||||
|
then
|
||||||
|
# load font configuration file and remove ligatures (for mono fonts):
|
||||||
|
font_config="--removeligatures --configfile $config_parent_dir/config.json"
|
||||||
|
else
|
||||||
|
font_config=""
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$post_process" ]
|
if [ "$post_process" ]
|
||||||
then
|
then
|
||||||
post_process="--postprocess=$post_process"
|
post_process="--postprocess=$post_process"
|
||||||
@ -107,9 +115,9 @@ function patch_font {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fontforge -quiet -script ./font-patcher "$f" -q $powerline $post_process --complete --no-progressbars --outputdir "${patched_font_dir}complete/" 2>/dev/null
|
fontforge -quiet -script ./font-patcher "$f" -q $powerline $post_process --complete --no-progressbars --outputdir "${patched_font_dir}complete/" 2>/dev/null
|
||||||
fontforge -quiet -script ./font-patcher "$f" -q -s $powerline $post_process --complete --no-progressbars --outputdir "${patched_font_dir}complete/" 2>/dev/null
|
fontforge -quiet -script ./font-patcher "$f" -q -s ${font_config} $powerline $post_process --complete --no-progressbars --outputdir "${patched_font_dir}complete/" 2>/dev/null
|
||||||
fontforge -quiet -script ./font-patcher "$f" -q -w $powerline $post_process --complete --no-progressbars --outputdir "${patched_font_dir}complete/" 2>/dev/null
|
fontforge -quiet -script ./font-patcher "$f" -q -w $powerline $post_process --complete --no-progressbars --outputdir "${patched_font_dir}complete/" 2>/dev/null
|
||||||
fontforge -quiet -script ./font-patcher "$f" -q -s -w $powerline $post_process --complete --no-progressbars --outputdir "${patched_font_dir}complete/" 2>/dev/null
|
fontforge -quiet -script ./font-patcher "$f" -q -s ${font_config} -w $powerline $post_process --complete --no-progressbars --outputdir "${patched_font_dir}complete/" 2>/dev/null
|
||||||
# wait for this group of background processes to finish to avoid forking too many processes
|
# wait for this group of background processes to finish to avoid forking too many processes
|
||||||
# that can add up quickly with the number of combinations
|
# that can add up quickly with the number of combinations
|
||||||
#wait
|
#wait
|
||||||
|
Loading…
Reference in New Issue
Block a user