/usr/sbin/update-gsfontmap is in ghostscript 9.05~dfsg-0ubuntu4.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #!/bin/sh
# update-gsfontmap
# Copyright 2010 Kenshi Muto <kmuto@debian.org>
# License: GPL
CIDFMAP=/var/lib/ghostscript/fonts/cidfmap
FONTMAP=/var/lib/ghostscript/fonts/Fontmap
CIDFDIR=/etc/ghostscript/cidfmap.d/
FONTMDIR=/etc/ghostscript/fontmap.d/
rm -f $CIDFMAP $FONTMAP
touch $CIDFMAP $FONTMAP
for i in $CIDFDIR/*.conf; do
cat $i >> $CIDFMAP
done 2>/dev/null
for i in $FONTMDIR/*.conf; do
cat $i >> $FONTMAP
done 2>/dev/null
exit 0
|