mirror of
https://github.com/mfocko/blog.git
synced 2024-11-13 01:30:29 +01:00
Matej Focko
7efd5e294b
• Use Iosevka as a default font (with few reasonable fallbacks) • Introduce a „steam machine“ for regenerating graphviz files · Use same monospace fonts for graphviz too Signed-off-by: Matej Focko <mfocko@redhat.com>
8 lines
No EOL
300 B
Bash
8 lines
No EOL
300 B
Bash
#!/bin/bash
|
|
|
|
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; |