feat: comic sans move number (also fix *)

fix: the limits of an asset can exceed the image dimensions
This commit is contained in:
mcolonna 2024-04-18 21:04:55 +02:00
parent d179734202
commit bc9cee22d7
33 changed files with 1954 additions and 51 deletions

3
dev/CREATE_TEXT.md Normal file
View file

@ -0,0 +1,3 @@
- use https://www.fontbolt.com/font/comic-sans/
- black on transparent
- convert it using the good scripts

10
dev/import_assets_text_26px.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
for PNG in $(find . -type f -name "*.png")
do
# resize
convert "$PNG" -resize x26 "$PNG"
# extract color and alpha
convert "$PNG" -negate -alpha opaque "${PNG%.png}.xpm"
convert "$PNG" -alpha extract "${PNG%.png}.alpha.xpm"
rm "$PNG"
done