File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ for weight in Normal Bold Italic Bold-Italic; do
156
156
FILE_SUFFIX=$( echo " $weight " | cut -b 1| tr ' [:upper:]' ' [:lower:]' )
157
157
fi
158
158
159
- time " ${MYDIR} /mkttf.py" \
159
+ time python3 " ${MYDIR} /mkttf.py" \
160
160
-f " ${NICEFONTNAME} " -n " ${FONTNAME}${WEIGHT_NAME: +" -${WEIGHT_NAME} " } " \
161
161
-N " ${NICEFONTNAME}${WEIGHT_NAME: +" ${WEIGHT_NAME} " } " \
162
162
-C " ; Copyright (C) $( date ' +%Y' ) Tilman Blumenbach; Licensed under the SIL Open Font License, Version 1.1" \
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ potrace_args=("${@:1:$#-1}")
52
52
# that, we need to specify the new dimensions in PostScript points (1/72 in).
53
53
# FontForge assumes a resolution of 72 DPI (or rather "pixels per inch"), so we
54
54
# can just directly use the pixel dimensions as points:
55
- wh=($( magick identify -format ' %[width]pt %[height]pt' " ${input?} " ) )
55
+ wh=($( identify -format ' %[width]pt %[height]pt' " ${input?} " ) )
56
56
57
57
if [ -n " $MKTTF_POTRACE_DEBUG " ]; then
58
58
set -x
61
61
# NB: We pass "-k 0.9" to Potrace because the bitmaps produced by FontForge are
62
62
# gray for some reason, and we need to make Potrace understand that the gray
63
63
# bits are meant to be black.
64
- magick convert " ${input?} " -sample ' 1000%' - \
64
+ convert " ${input?} " -sample ' 1000%' - \
65
65
| potrace -k 0.9 -W " ${wh[0]} " -H " ${wh[1]} " " ${potrace_args[@]} "
66
66
67
67
# vim: sw=4 ts=4 et tw=79
You can’t perform that action at this time.
0 commit comments