945566ff43
As discussed, Noto renders much better with freetype 2.7 [1]. The DejaVu package is still in the HaikuPorts repo and can be installed manually just like all the other available fonts. [1] http://www.freelists.org/post/haiku-development/freetype-update-from-265-to-27
17 lines
470 B
Bash
Executable File
17 lines
470 B
Bash
Executable File
#!/bin/sh
|
|
|
|
which montage > /dev/null 2>&1 || pkgman install imagemagick
|
|
|
|
tmpf=/tmp/$$_icon_
|
|
|
|
for f in data/artwork/icons/*; do
|
|
[ -d "$f" ] && continue
|
|
bn="$(basename "$f")"
|
|
translate "$f" "${tmpf}${bn}.png" 'PNG '
|
|
echo "-label"
|
|
echo "${bn}"
|
|
echo "${tmpf}${bn}.png"
|
|
done | xargs -d '\n' sh -c 'montage -frame 5 -background "#336699" -geometry +4+4 -font /system/data/fonts/ttfonts/NotoSans-Regular.ttf -pointsize 9 "$@" haiku_icons.png' --
|
|
|
|
rm /tmp/$$_icon_*
|