pkgsrc/print/xpdf/patches/patch-al
spz 813731b2ac the fonts that xpdf uses used to be in ghostscript-fonts, but nowadays
they are present in urw-fonts; fix dependencies and font search paths.
Also add X11R7 to the font search paths.
2010-06-13 08:56:04 +00:00

21 lines
641 B
Text

$NetBSD: patch-al,v 1.3 2010/06/13 08:56:04 spz Exp $
--- xpdf/GlobalParams.cc.orig 2005-08-17 05:34:31.000000000 +0000
+++ xpdf/GlobalParams.cc
@@ -106,11 +106,12 @@ static char *displayFontDirs[] = {
};
#else
static char *displayFontDirs[] = {
- "/usr/share/ghostscript/fonts",
+ PREFIX"/share/ghostscript/fonts",
"/usr/local/share/ghostscript/fonts",
- "/usr/share/fonts/default/Type1",
- "/usr/share/fonts/default/ghostscript",
- "/usr/share/fonts/type1/gsfonts",
+ "/usr/X11R6/lib/X11/fonts/Type1",
+ "/usr/X11R7/lib/X11/fonts/Type1",
+ PREFIX"/xorg/lib/X11/fonts/Type1",
+ PREFIX"/share/fonts/urw",
NULL
};
#endif