mirror of
https://github.com/mfocko/blog.git
synced 2024-11-14 01:59:42 +01:00
8 lines
No EOL
298 B
Bash
8 lines
No EOL
298 B
Bash
#!/bin/sh
|
|
|
|
FONT="Iosevka,'Iosevka Term','Cascadia Code','JetBrains Mono','Fira Code',monospace"
|
|
|
|
for pic in $(find ./static/files -name '*.dot' -print); do
|
|
SVG_NAME=".$(echo $pic | cut -d'.' -f2).svg"
|
|
dot $pic -Tsvg -Gfontname="$FONT" -Nfontname="$FONT" -Efontname="$FONT" > $SVG_NAME
|
|
done; |