mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
c18329b573
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
18 lines
693 B
Bash
18 lines
693 B
Bash
if [ -x /usr/bin/mkfontdir ]; then
|
|
( cd usr/share/fonts/misc
|
|
if ! grep -q '^Dina_\([689]\|10\) ' fonts.alias 2>/dev/null; then
|
|
echo 'Dina_6 -windows-dina-medium-r-normal--8-60-96-96-c-60-microsoft-cp1252' >> fonts.alias
|
|
echo 'Dina_8 -windows-dina-medium-r-normal--10-80-96-96-c-70-microsoft-cp1252' >> fonts.alias
|
|
echo 'Dina_9 -windows-dina-medium-r-normal--12-90-96-96-c-70-microsoft-cp1252' >> fonts.alias
|
|
echo 'Dina_10 -windows-dina-medium-r-normal--13-100-96-96-c-80-microsoft-cp1252' >> fonts.alias
|
|
fi
|
|
mkfontscale .
|
|
mkfontdir .
|
|
)
|
|
fi
|
|
|
|
[ "$DISPLAY" != "" ] && xset fp rehash 2>/dev/null
|
|
|
|
if [ -x usr/bin/fc-cache ]; then
|
|
usr/bin/fc-cache -f
|
|
fi
|