diff options
author | Sebastien Dupont <sdupont@mandriva.com> | 2002-03-20 12:55:11 +0000 |
---|---|---|
committer | Sebastien Dupont <sdupont@mandriva.com> | 2002-03-20 12:55:11 +0000 |
commit | e08ebcaca2f0b44a745c961885dc5a1ab557df48 (patch) | |
tree | b68c06a6af6814c5733c964707fcec652f92ca10 /perl-install/standalone | |
parent | d90364be974b884e0291095a2d2cb14563e0a32d (diff) | |
download | drakx-backup-do-not-use-e08ebcaca2f0b44a745c961885dc5a1ab557df48.tar drakx-backup-do-not-use-e08ebcaca2f0b44a745c961885dc5a1ab557df48.tar.gz drakx-backup-do-not-use-e08ebcaca2f0b44a745c961885dc5a1ab557df48.tar.bz2 drakx-backup-do-not-use-e08ebcaca2f0b44a745c961885dc5a1ab557df48.tar.xz drakx-backup-do-not-use-e08ebcaca2f0b44a745c961885dc5a1ab557df48.zip |
exchanging: ttmkfdir by /usr/X11R6/bin/mkttfdir
which generate correct fonts.dir
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakfont | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont index 817e2c0a8..0ba8dff91 100755 --- a/perl-install/standalone/drakfont +++ b/perl-install/standalone/drakfont @@ -181,7 +181,7 @@ my $ttf2pt1 = '/usr/sbin/ttf2pt1'; my $pfm2afm = '/usr/sbin/pfm2afm'; my $type1inst = '/usr/sbin/type1inst'; my $chkfontpath = '/usr/sbin/chkfontpath'; -my $ttmkfdir = '/usr/sbin/ttmkfdir'; +my $ttmkfdir = '/usr/X11R6/bin/mkttfdir'; #'/usr/sbin/ttmkfdir'; my $ghostscript; # Global lists, just to manipulate it easily. @@ -355,7 +355,8 @@ sub put_font_dir { system ('cd '.$drakfont_dir.'/tmp/tmp ; for i in *.TTF; do mv -f $i `basename $i .TTF`.ttf; done'); system ('cd '.$drakfont_dir.'/tmp/tmp && cp *.ttf ../../ttf'); $interactive and progress($pbar2, 0.20, _("please wait during ttmkfdir...")); - system ('cd '.$drakfont_dir.'/ttf && $ttmkfdir > fonts.dir' ); +# system ('cd '.$drakfont_dir.'/ttf && $ttmkfdir > fonts.dir' ); + system ('cd '.$drakfont_dir.'/ttf && $ttmkfdir ' ); $interactive and progress($pbar2, 0.10, _("True Type install done")); my $restart_xfs = "$chkfontpath -a $drakfont_dir/ttf"; |