diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-11-29 17:10:40 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-11-29 17:10:40 -0500 |
commit | 92ac0ca7ef35c8618dcb3910971faf95e5598e85 (patch) | |
tree | 3e4a92284be6b5ed07d4189ec12ee780905ee3ac | |
parent | 87b2336372d74dcb29de5495c6c42d012883746b (diff) |
touchup official-2013/optimized-text/Makefile
-rw-r--r-- | optimized-text/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/optimized-text/Makefile b/optimized-text/Makefile index b7c2def..fb4fc13 100644 --- a/optimized-text/Makefile +++ b/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 |