From 0ce58e3f3c78760aa1f2204325862113a71ef763 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Sat, 28 Jan 2012 16:01:01 -0500 Subject: [PATCH] Add Gentoo font path to default search dir. This allows Xpdf to automatically find the required type-1 fonts on Gentoo. The font paths can also be set in xpdfrc, but this approach is more robust as the user's xpdfrc overrides the system-wide one. --- xpdf/GlobalParams.cc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/xpdf/GlobalParams.cc b/xpdf/GlobalParams.cc index 63e932b..7b7dc41 100644 --- a/xpdf/GlobalParams.cc +++ b/xpdf/GlobalParams.cc @@ -110,6 +110,7 @@ static const char *displayFontDirs[] = { }; #else static const char *displayFontDirs[] = { + "/usr/share/fonts/urw-fonts", "/usr/share/ghostscript/fonts", "/usr/local/share/ghostscript/fonts", "/usr/share/fonts/default/Type1", -- 1.7.3.4