# the svg files are rendered at a large size and then scaled down.
#
# DEPENDENCIES
-# librsvg
-# imagemagick
+# rsvg-convert (librsvg)
+# convert (imagemagick)
#
# USAGE
# ./render-svg.sh DATADIR [SVGFILE...]
#
-# EXAMPLES
+# USAGE EXAMPLES
# Single file: ./render-svg.sh ~/.xonotic/data gfx/menu/luminos/cursor.svg
# All files: ./render-svg.sh ~/.xonotic/data $(find . -name "*.svg")
data="$1"; shift
-maxScale=16
+maxScale=8
maxPixels=100000000