summaryrefslogtreecommitdiff
path: root/print/xpdf/patches/patch-al
blob: 61b3f87706c91f8e0be5acb5efbe0a9d032b26cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$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