* Option fonts.enableGhostscriptFonts to make the Ghostscript fonts

available to X11 apps.

svn path=/nixos/trunk/; revision=9401
This commit is contained in:
Eelco Dolstra 2007-10-03 15:44:30 +00:00
parent 48acdef3c9
commit 94b7b9377c
2 changed files with 19 additions and 6 deletions

View file

@ -1,4 +1,4 @@
{pkgs , config}:
{pkgs, config}:
[
# - the user's .fonts directory
@ -18,6 +18,8 @@
pkgs.xorg.fontbh100dpi
pkgs.xorg.fontmiscmisc
pkgs.xorg.fontcursormisc
] ++
((config.get ["fonts" "extraFonts"]) pkgs)
]
++ pkgs.lib.optional (config.get ["fonts" "enableGhostscriptFonts"]) "${pkgs.ghostscript}/share/ghostscript/fonts"
++ ((config.get ["fonts" "extraFonts"]) pkgs)

View file

@ -1109,17 +1109,28 @@ root ALL=(ALL) SETENV: ALL
{
name = ["fonts" "enableFontConfig"];
name = ["fonts" "enableFontConfig"]; # !!! should be enableFontconfig
default = true;
description = "
If enabled, a fontconfig configuration file will be built
If enabled, a Fontconfig configuration file will be built
pointing to a set of default fonts. If you don't care about
running X11 applications or any other program that uses
fontconfig, you can turn this option off and prevent a
Fontconfig, you can turn this option off and prevent a
dependency on all those fonts.
";
}
{
name = ["fonts" "enableGhostscriptFonts"];
default = false;
description = "
Whether to add the fonts provided by Ghostscript (such as
various URW fonts and the Base-14 Postscript fonts) to the
list of system fonts, making them available to X11
applications.
";
}
{
name = ["fonts" "extraFonts"];
default = pkgs:[];