You need to find the directories containing 'Fontmap' or 'Fontmap.GS'
file[s] and put these directories (separated by colons if there are more
than one directory) into the 'FontMap' entry in /etc/hylafax/hyla.conf
On my Ubuntu 9.10 it's:
FontMap: /var/lib/defoma/gs.d/dirs/fonts
A more generic solution would be:
fm=`locate Fontmap | perl -ne 'chomp; if (s!/Fontmap(?:\.GS)?$!!) { $d{$_}=1; }
END { print join(":", keys %d), "\n" } '`
if [ "$fm" ]
then
perl -pi -e's!^(FontMap:\s*).*!$1'${fm}'!' /etc/hylafax/hyla.conf
else
echo "Sorry, can't find any Fontmap files"
fi
The package should either have the correct FontMap entry hard-coded into the
hyla.conf file, or use some scripting like above to find the right path[s].
--
textfmt
https://bugs.launchpad.net/bugs/372605
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs