- Fixed font path (bug #142294).

This commit is contained in:
Tim Waugh 2004-12-09 16:40:32 +00:00
commit 5c7c8ed373
2 changed files with 17 additions and 1 deletions

View file

@ -16,3 +16,18 @@
do
if test "cd $ac_dir 2>/dev/null && echo *.afm"; then
ac_psfont_path="$ac_psfont_path:$ac_dir";
--- a2ps-4.13/configure.in.conf 2000-02-24 17:53:03.000000000 +0000
+++ a2ps-4.13/configure.in 2004-12-09 16:25:14.984961138 +0000
@@ -197,8 +197,10 @@
# Try to find some PostScript fonts.
# Find out if ghostscript is installed
ac_psfont_path=
-for ac_dir in /usr/local/ghostscript/fonts \
- /usr/local/share/ghostscript/fonts;
+for ac_dir in /usr/share/fonts/default/Type1 \
+ /usr/share/fonts/default/ghostscript \
+ /usr/share/fonts/afms/adobe \
+ /usr/X11R6/lib/X11/fonts/latin2/Type1/afm ;
do
if test "cd $ac_dir 2>/dev/null && echo *.afm"; then
ac_psfont_path="$ac_psfont_path:$ac_dir";

View file

@ -215,7 +215,8 @@ fi
%changelog
* Thu Dec 9 2004 Tim Waugh <twaugh@redhat.com> 4.13b-43
- Fix problems in make_fonts_map script (bug #142299). Patch from
- Fixed font path (bug #142294).
- Fixed problems in make_fonts_map script (bug #142299). Patch from
Michal Jaegermann.
* Tue Dec 7 2004 Tim Waugh <twaugh@redhat.com> 4.13b-42