summaryrefslogtreecommitdiff
path: root/official-2013/optimized-text
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-11-29 17:10:40 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-11-29 17:10:40 -0500
commitb048272337d1bf5f3baa0b60de5f672b7db2e766 (patch)
treee18c20a94fb9c33e71ff89684124ddeb9cd756fb /official-2013/optimized-text
parent5efb89bfa37ef53ee363db8e96af96019777ce25 (diff)
touchup official-2013/optimized-text/Makefile
Diffstat (limited to 'official-2013/optimized-text')
-rw-r--r--official-2013/optimized-text/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/official-2013/optimized-text/Makefile b/official-2013/optimized-text/Makefile
index b7c2def..fb4fc13 100644
--- a/official-2013/optimized-text/Makefile
+++ b/official-2013/optimized-text/Makefile
@@ -1,18 +1,19 @@
-# SVG2PNG: Each is buggy in their own way
-# ImageMagick: doesn't support transparency
-#SVG2PNG = convert $1 -format png $(if $3,-resize $3x)$(if $4,$4) $(if $5,-bacground $5) $2
-# librsvg: doesn't support <style> element
+## SVG2PNG: Each is buggy in their own way
+## Usage: $(call SVG2PNG,infile,outfile[,width,height,background-color])
+##
+## ImageMagick: doesn't support transparency
+#SVG2PNG = convert $1 -format png $(if $3,-resize $3x)$(if $4,$4) $(if $5,-background $5) $2
+## librsvg: doesn't support <style> element
#SVG2PNG = rsvg-convert $1 -o $2 $(if $3,-w $3) $(if $4,-h $4) $(if $5,--background-color=$5)
-# Inkscape: messes up gradients
+## Inkscape: messes up gradients
SVG2PNG = inkscape $1 --export-png $2 $(if $3,-w $3) $(if $4,-h $4) $(if $5,-b '$5')
-# PNG2ICO
-# png2ico: doesn't read PNG transparency properly
+## PNG2ICO
+## png2ico: doesn't read PNG transparency properly
#PNG2ICO = png2ico $2 $1
-# icotool: has perl dependencies
+## icotool: has perl dependencies
PNG2ICO = icotool -c $1 -o $2
-# pngcrush is available from [pcr]
#PNGCRUSH = cp $1 $2
PNGCRUSH = pngcrush $1 $2