From f3706471e8296948259cb5fbd8176a1bcdc4a1c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 28 May 2009 22:11:02 +0000 Subject: [PATCH] GNU Ghostscript: Add pointers to the URW++ font files in the fontmap. svn path=/nixpkgs/trunk/; revision=15780 --- pkgs/misc/ghostscript/default.nix | 2 +- pkgs/misc/ghostscript/urw-font-files.patch | 61 ++++++++++++++++++++++ 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 pkgs/misc/ghostscript/urw-font-files.patch diff --git a/pkgs/misc/ghostscript/default.nix b/pkgs/misc/ghostscript/default.nix index c0d489d31f5d..14eaa66627d3 100644 --- a/pkgs/misc/ghostscript/default.nix +++ b/pkgs/misc/ghostscript/default.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation rec { NIX_CFLAGS_COMPILE = "-fpic"; - patches = [ ./purity.patch ./mkromfs-zlib.patch ]; + patches = [ ./purity.patch ./mkromfs-zlib.patch ./urw-font-files.patch ]; doCheck = true; diff --git a/pkgs/misc/ghostscript/urw-font-files.patch b/pkgs/misc/ghostscript/urw-font-files.patch new file mode 100644 index 000000000000..9a4aab0bbbef --- /dev/null +++ b/pkgs/misc/ghostscript/urw-font-files.patch @@ -0,0 +1,61 @@ +Sometime between 8.62 and 8.64, the fontmap file was changed such that the +`.pfb' files of the URW++ fonts no longer appear in 8.64, making it impossible +to display/render these fonts. + +--- gnu-ghostscript-8.64/Resource/Init/Fontmap.GS 2009-05-27 02:19:02.000000000 +0200 ++++ gnu-ghostscript-8.62/Resource/Init/Fontmap.GS 2009-05-27 02:19:09.000000000 +0200 +@@ -81,6 +81,54 @@ + % Copyright URW Software, Copyright 1994 by URW. + % + ++% Actual fonts ++ ++/URWBookmanL-DemiBold (b018015l.pfb) ; ++/URWBookmanL-DemiBoldItal (b018035l.pfb) ; ++/URWBookmanL-Ligh (b018012l.pfb) ; ++/URWBookmanL-LighItal (b018032l.pfb) ; ++ ++/NimbusMonL-Regu (n022003l.pfb) ; ++/NimbusMonL-ReguObli (n022023l.pfb) ; ++/NimbusMonL-Bold (n022004l.pfb) ; ++/NimbusMonL-BoldObli (n022024l.pfb) ; ++ ++/URWGothicL-Book (a010013l.pfb) ; ++/URWGothicL-BookObli (a010033l.pfb) ; ++/URWGothicL-Demi (a010015l.pfb) ; ++/URWGothicL-DemiObli (a010035l.pfb) ; ++ ++/NimbusSanL-Regu (n019003l.pfb) ; ++/NimbusSanL-ReguItal (n019023l.pfb) ; ++/NimbusSanL-Bold (n019004l.pfb) ; ++/NimbusSanL-BoldItal (n019024l.pfb) ; ++ ++/NimbusSanL-ReguCond (n019043l.pfb) ; ++/NimbusSanL-ReguCondItal (n019063l.pfb) ; ++/NimbusSanL-BoldCond (n019044l.pfb) ; ++/NimbusSanL-BoldCondItal (n019064l.pfb) ; ++ ++/URWPalladioL-Roma (p052003l.pfb) ; ++/URWPalladioL-Ital (p052023l.pfb) ; ++/URWPalladioL-Bold (p052004l.pfb) ; ++/URWPalladioL-BoldItal (p052024l.pfb) ; ++ ++/CenturySchL-Roma (c059013l.pfb) ; ++/CenturySchL-Ital (c059033l.pfb) ; ++/CenturySchL-Bold (c059016l.pfb) ; ++/CenturySchL-BoldItal (c059036l.pfb) ; ++ ++/NimbusRomNo9L-Regu (n021003l.pfb) ; ++/NimbusRomNo9L-ReguItal (n021023l.pfb) ; ++/NimbusRomNo9L-Medi (n021004l.pfb) ; ++/NimbusRomNo9L-MediItal (n021024l.pfb) ; ++ ++/StandardSymL (s050000l.pfb) ; ++ ++/URWChanceryL-MediItal (z003034l.pfb) ; ++ ++/Dingbats (d050000l.pfb) ; ++ + % Aliases + + /Bookman-Demi /URWBookmanL-DemiBold ;