25 lines
789 B
Plaintext
25 lines
789 B
Plaintext
$NetBSD: patch-al,v 1.5 2014/08/01 12:31:27 tron Exp $
|
|
|
|
Adapt list of directories with fonts.
|
|
|
|
--- xpdf/GlobalParams.cc.orig 2014-05-28 19:50:50.000000000 +0100
|
|
+++ xpdf/GlobalParams.cc 2014-08-01 11:10:09.000000000 +0100
|
|
@@ -120,11 +120,13 @@
|
|
};
|
|
#else
|
|
static const 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",
|
|
+ PREFIX"/share/fonts/X11/Type1",
|
|
+ "/usr/X11R6/lib/X11/fonts/Type1",
|
|
+ "/usr/X11R7/lib/X11/fonts/Type1",
|
|
+ PREFIX"/xorg/lib/X11/fonts/Type1",
|
|
+ PREFIX"/share/fonts/urw",
|
|
#if defined(__sun) && defined(__SVR4)
|
|
"/usr/sfw/share/ghostscript/fonts",
|
|
#endif
|