You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
438 B
12 lines
438 B
2 years ago
|
#!/bin/bash
|
||
|
# This script exports all fonts from svgs to path, and needs to be re-run every time the original file is modified.
|
||
|
# Programs required: inkscape, scour
|
||
|
# Fonts required: Ubuntu, Sharp Sans
|
||
|
for file in *-text.svg; do
|
||
|
basename="${file%-*}"
|
||
|
rm $basename.svg
|
||
|
inkscape $basename-text.svg --export-filename=$basename-s.svg --export-text-to-path
|
||
|
scour -i $basename-s.svg -o $basename.svg
|
||
|
rm $basename-s.svg
|
||
|
done
|