mirror of
https://github.com/twitter/twemoji.git
synced 2024-12-27 03:16:23 +00:00
removed duplicated viewBox problem with more updated Inkscape
This commit is contained in:
parent
990fa702a2
commit
264989b2df
5
svg.sh
5
svg.sh
@ -16,8 +16,9 @@ viewport() {
|
|||||||
content=$(
|
content=$(
|
||||||
cat "$f" |
|
cat "$f" |
|
||||||
sed 's/<!-- Created with Inkscape (http:\/\/inkscape.org\/) -->//' |
|
sed 's/<!-- Created with Inkscape (http:\/\/inkscape.org\/) -->//' |
|
||||||
sed 's/width="47.5"/viewBox="0 0 47.5 47.5"/' |
|
sed 's/viewBox="0 0 47.5 47.5"//' |
|
||||||
sed 's/height="47.5"/style="enable-background:new 0 0 47.5 47.5;"/' |
|
sed 's/height="47.5"/viewBox="0 0 47.5 47.5"/' |
|
||||||
|
sed 's/width="47.5"/style="enable-background:new 0 0 47.5 47.5;"/' |
|
||||||
sed -e ':a' -e 'N' -e '$!ba' -e 's/\n//g' |
|
sed -e ':a' -e 'N' -e '$!ba' -e 's/\n//g' |
|
||||||
sed -e 's/ */ /g' |
|
sed -e 's/ */ /g' |
|
||||||
sed -e 's/ \/>/\/>/g'
|
sed -e 's/ \/>/\/>/g'
|
||||||
|
Loading…
Reference in New Issue
Block a user