From 14980649d3847ffa332fd9c0e2a7c2955f6f8cd6 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 15 Oct 2003 12:52:18 +0000 Subject: better disabling of anti-alias, fix non-fb based start of drakx (amd64, move) --- perl-install/install_gtk.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'perl-install/install_gtk.pm') diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm index b1cf13aeb..7bc3e725a 100644 --- a/perl-install/install_gtk.pm +++ b/perl-install/install_gtk.pm @@ -197,10 +197,12 @@ sub create_logo_window { } #------------------------------------------------------------------------------ -sub init_gtk() { +sub init_gtk { + my ($o) = @_; + symlink("/tmp/stage2/etc/$_", "/etc/$_") foreach qw(gtk-2.0 pango fonts); - if (!listlength(cat_('/proc/fb'))) { + if ($o->{vga16}) { #- inactivate antialias in VGA16 because it makes fonts look worse output('/tmp/fonts.conf', q( -- cgit v1.2.1