xpdf/xpdf-3.04-xpdfrc.patch

63 lines
2.9 KiB
Diff
Raw Normal View History

--- xpdf-3.04/doc/sample-xpdfrc.xpdfrc 2014-05-28 20:50:50.000000000 +0200
+++ xpdf-3.04/doc/sample-xpdfrc 2015-12-13 21:07:45.339457403 +0100
@@ -29,20 +29,20 @@
# installed in a "standard" location, xpdf will find them
# automatically.)
-#fontFile Times-Roman /usr/local/share/ghostscript/fonts/n021003l.pfb
-#fontFile Times-Italic /usr/local/share/ghostscript/fonts/n021023l.pfb
-#fontFile Times-Bold /usr/local/share/ghostscript/fonts/n021004l.pfb
-#fontFile Times-BoldItalic /usr/local/share/ghostscript/fonts/n021024l.pfb
-#fontFile Helvetica /usr/local/share/ghostscript/fonts/n019003l.pfb
-#fontFile Helvetica-Oblique /usr/local/share/ghostscript/fonts/n019023l.pfb
-#fontFile Helvetica-Bold /usr/local/share/ghostscript/fonts/n019004l.pfb
-#fontFile Helvetica-BoldOblique /usr/local/share/ghostscript/fonts/n019024l.pfb
-#fontFile Courier /usr/local/share/ghostscript/fonts/n022003l.pfb
-#fontFile Courier-Oblique /usr/local/share/ghostscript/fonts/n022023l.pfb
-#fontFile Courier-Bold /usr/local/share/ghostscript/fonts/n022004l.pfb
-#fontFile Courier-BoldOblique /usr/local/share/ghostscript/fonts/n022024l.pfb
-#fontFile Symbol /usr/local/share/ghostscript/fonts/s050000l.pfb
-#fontFile ZapfDingbats /usr/local/share/ghostscript/fonts/d050000l.pfb
+fontFile Times-Roman /usr/share/ghostscript/fonts/n021003l.pfb
+fontFile Times-Italic /usr/share/ghostscript/fonts/n021023l.pfb
+fontFile Times-Bold /usr/share/ghostscript/fonts/n021004l.pfb
+fontFile Times-BoldItalic /usr/share/ghostscript/fonts/n021024l.pfb
+fontFile Helvetica /usr/share/ghostscript/fonts/n019003l.pfb
+fontFile Helvetica-Oblique /usr/share/ghostscript/fonts/n019023l.pfb
+fontFile Helvetica-Bold /usr/share/ghostscript/fonts/n019004l.pfb
+fontFile Helvetica-BoldOblique /usr/share/ghostscript/fonts/n019024l.pfb
+fontFile Courier /usr/share/ghostscript/fonts/n022003l.pfb
+fontFile Courier-Oblique /usr/share/ghostscript/fonts/n022023l.pfb
+fontFile Courier-Bold /usr/share/ghostscript/fonts/n022004l.pfb
+fontFile Courier-BoldOblique /usr/share/ghostscript/fonts/n022024l.pfb
+fontFile Symbol /usr/share/ghostscript/fonts/s050000l.pfb
+fontFile ZapfDingbats /usr/share/ghostscript/fonts/d050000l.pfb
# If you need to display PDF files that refer to non-embedded fonts,
# you should add one or more fontDir options to point to the
@@ -50,7 +50,9 @@
# .pfb, .ttf, and .ttc files in those directories (other files will
# simply be ignored).
-#fontDir /usr/local/fonts/bakoma
+fontDir /usr/share/ghostscript/fonts
+fontDir /usr/share/fonts/X11/TTF
+fontDir /usr/share/fonts/X11/Type1
#----- PostScript output control
@@ -62,7 +64,7 @@
# A4, or A3. You can also specify a paper size as width and height
# (in points).
-#psPaperSize letter
+psPaperSize A4
#----- text output control
@@ -89,3 +91,4 @@
#launchCommand viewer-script
#urlCommand "netscape -remote 'openURL(%s)'"
+urlCommand "xdg-open 'openURL(%s)'"