diff options
-rwxr-xr-x | contrib/convert-svgs-to-pngs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/convert-svgs-to-pngs.sh b/contrib/convert-svgs-to-pngs.sh index c11df7f..4a37feb 100755 --- a/contrib/convert-svgs-to-pngs.sh +++ b/contrib/convert-svgs-to-pngs.sh @@ -32,7 +32,7 @@ convertSvgToPng() { gm convert -density "$TARGET_RESOLUTION" "$1" -resize "$TARGET_RESOLUTION" "$2"; ;; "inkscape") - inkscape -w "$width" -h "$height" "$1" -o "$2" 2>&1 | grep -v -E 'data:font/|font-(family|style|weight|display)|unicode-range|end_font_face_cb: font face rule limited support' | sed '/^$/d' + inkscape -w "$width" -h "$height" "$1" --export-png-color-mode=RGB_8 -o "$2" 2>&1 | grep -v -E 'data:font/|font-(family|style|weight|display)|unicode-range|end_font_face_cb: font face rule limited support' | sed '/^$/d' ;; *) echo "FATAL: Invalid tool \"$CONVERSION_TOOL\"" 1>&2 |