* Don't put the Adobe bitmap fonts in the fontconfig search path

because then Helvetica looks horrible.

svn path=/nixos/trunk/; revision=12736
This commit is contained in:
Eelco Dolstra 2008-08-27 10:00:49 +00:00
parent bdb29c0bcc
commit 618b726542
2 changed files with 13 additions and 2 deletions

View File

@ -13,8 +13,6 @@
pkgs.xorg.fontbhttf
pkgs.xorg.fontbhlucidatypewriter100dpi
pkgs.xorg.fontbhlucidatypewriter75dpi
pkgs.xorg.fontadobe100dpi
pkgs.xorg.fontadobe75dpi
pkgs.ttf_bitstream_vera
pkgs.freefont_ttf
pkgs.xorg.fontbh100dpi

View File

@ -53,6 +53,19 @@ let
++ (optional cfg.synaptics.enable ["${pkgs.synaptics}/${xorg.xorgserver}" /*xorg.xf86inputevdev*/]);
fontsForXServer =
fontDirectories ++
# We don't want these fonts in fonts.conf, because then modern,
# fontconfig-based applications will get horrible bitmapped
# Helvetica fonts. It's better to get a substitution (like Nimbus
# Sans) than that horror. But we do need the Adobe fonts for some
# old non-fontconfig applications. (Possibly this could be done
# better using a fontconfig rule.)
[ pkgs.xorg.fontadobe100dpi
pkgs.xorg.fontadobe75dpi
];
configFile = stdenv.mkDerivation {
name = "xserver.conf";
src = ./xserver.conf;