[csw-devel] SF.net SVN: gar:[5597] csw/mgar/pkg/xpdf/trunk

bensons at users.sourceforge.net bensons at users.sourceforge.net
Fri Jul 17 14:47:39 CEST 2009


Revision: 5597
          http://gar.svn.sourceforge.net/gar/?rev=5597&view=rev
Author:   bensons
Date:     2009-07-17 12:47:39 +0000 (Fri, 17 Jul 2009)

Log Message:
-----------
xpdf: using a correct xpdfrc now

Modified Paths:
--------------
    csw/mgar/pkg/xpdf/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/xpdf/trunk/files/xpdfrc

Modified: csw/mgar/pkg/xpdf/trunk/Makefile
===================================================================
--- csw/mgar/pkg/xpdf/trunk/Makefile	2009-07-17 12:10:37 UTC (rev 5596)
+++ csw/mgar/pkg/xpdf/trunk/Makefile	2009-07-17 12:47:39 UTC (rev 5597)
@@ -40,3 +40,6 @@
 TEST_SCRIPTS =
 
 include gar/category.mk
+
+pre-build-modulated:
+	@cp files/xpdfrc ${WORKSRC}/doc/sample-xpdfrc

Added: csw/mgar/pkg/xpdf/trunk/files/xpdfrc
===================================================================
--- csw/mgar/pkg/xpdf/trunk/files/xpdfrc	                        (rev 0)
+++ csw/mgar/pkg/xpdf/trunk/files/xpdfrc	2009-07-17 12:47:39 UTC (rev 5597)
@@ -0,0 +1,146 @@
+#========================================================================
+#
+# Sample xpdfrc file
+#
+# The Xpdf tools look for a config file in two places:
+# 1. ~/.xpdfrc
+# 2. in a system-wide directory, typically /usr/local/etc/xpdfrc
+#
+# This sample config file demonstrates some of the more common
+# configuration options.  Everything here is commented out.  You
+# should edit things (especially the file/directory paths, since
+# they'll likely be different on your system), and uncomment whichever
+# options you want to use.  For complete details on config file syntax
+# and available options, please see the xpdfrc(5) man page.
+#
+# Also, the Xpdf language support packages each include a set of
+# options to be added to the xpdfrc file.
+#
+# http://www.foolabs.com/xpdf/
+#
+#========================================================================
+
+#----- display fonts
+
+# These map the Base-14 fonts to standard X server fonts.
+# These are default mappings, built into xpdf - they're shown here
+# purely as examples.
+
+#displayFontX	Courier			"-*-courier-medium-r-normal-*-%s-*-*-*-*-*-iso8859-1"		Latin1
+#displayFontX	Courier-Bold		"-*-courier-bold-r-normal-*-%s-*-*-*-*-*-iso8859-1"		Latin1
+#displayFontX	Courier-BoldOblique	"-*-courier-bold-o-normal-*-%s-*-*-*-*-*-iso8859-1"		Latin1
+#displayFontX	Courier-Oblique		"-*-courier-medium-o-normal-*-%s-*-*-*-*-*-iso8859-1"		Latin1
+#displayFontX	Helvetica		"-*-helvetica-medium-r-normal-*-%s-*-*-*-*-*-iso8859-1"		Latin1
+#displayFontX	Helvetica-Bold		"-*-helvetica-bold-r-normal-*-%s-*-*-*-*-*-iso8859-1"		Latin1
+#displayFontX	Helvetica-BoldOblique	"-*-helvetica-bold-o-normal-*-%s-*-*-*-*-*-iso8859-1"		Latin1
+#displayFontX	Helvetica-Oblique	"-*-helvetica-medium-o-normal-*-%s-*-*-*-*-*-iso8859-1"		Latin1
+#displayFontX	Symbol			"-*-symbol-medium-r-normal-*-%s-*-*-*-*-*-adobe-fontspecific"	Symbol
+#displayFontX	Times-Bold		"-*-times-bold-r-normal-*-%s-*-*-*-*-*-iso8859-1"		Latin1
+#displayFontX	Times-BoldItalic	"-*-times-bold-i-normal-*-%s-*-*-*-*-*-iso8859-1"		Latin1
+#displayFontX	Times-Italic		"-*-times-medium-i-normal-*-%s-*-*-*-*-*-iso8859-1"		Latin1
+#displayFontX	Times-Roman		"-*-times-medium-r-normal-*-%s-*-*-*-*-*-iso8859-1"		Latin1
+#displayFontX	ZapfDingbats		"-*-itc zapfdingbats-medium-r-normal-*-%s-*-*-*-*-*-*-*"		ZapfDingbats
+
+# These map the Base-14 fonts to the Type 1 fonts that ship with
+# ghostscript.  You'll almost certainly want to use something like
+# this, but you'll need to adjust this to point to wherever
+# ghostscript is installed on your system.
+
+displayFontT1 Times-Roman               /usr/openwin/lib/X11/fonts/Type1/outline/Times-Roman.pfa
+displayFontT1 Times-Italic              /usr/openwin/lib/X11/fonts/Type1/outline/Times-Italic.pfa
+displayFontT1 Times-Bold                /usr/openwin/lib/X11/fonts/Type1/outline/Times-Bold.pfa
+displayFontT1 Times-BoldItalic          /usr/openwin/lib/X11/fonts/Type1/outline/Times-BoldItalic.pfa
+displayFontT1 Helvetica                 /usr/openwin/lib/X11/fonts/Type1/outline/Helvetica.pfa
+displayFontT1 Helvetica-Oblique         /usr/openwin/lib/X11/fonts/Type1/outline/Helvetica-Oblique.pfa
+displayFontT1 Helvetica-Bold            /usr/openwin/lib/X11/fonts/Type1/outline/Helvetica-Bold.pfa
+displayFontT1 Helvetica-BoldOblique     /usr/openwin/lib/X11/fonts/Type1/outline/Helvetica-BoldOblique.pfa
+displayFontT1 Courier                   /usr/openwin/lib/X11/fonts/Type1/outline/Courier.pfa
+displayFontT1 Courier-Oblique           /usr/openwin/lib/X11/fonts/Type1/outline/Courier-Oblique.pfa
+displayFontT1 Courier-Bold              /usr/openwin/lib/X11/fonts/Type1/outline/Courier-Bold.pfa
+displayFontT1 Courier-BoldOblique       /usr/openwin/lib/X11/fonts/Type1/outline/Courier-BoldOblique.pfa
+displayFontT1 Symbol                    /usr/openwin/lib/X11/fonts/Type1/outline/Symbol.pfa
+
+#displayFontTT Times-Roman		/usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman.ttf
+#displayFontTT Times-Italic		/usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-Italic.ttf
+#displayFontTT Times-Bold		/usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-Bold.ttf
+#displayFontTT Times-BoldItalic		/usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-Italic.ttf
+#displayFontTT Helvetica			/usr/openwin/lib/X11/fonts/TrueType/Arial.ttf
+#displayFontTT Helvetica-Oblique		/usr/openwin/lib/X11/fonts/TrueType/Arial-Italic.ttf
+#displayFontTT Helvetica-Bold		/usr/openwin/lib/X11/fonts/TrueType/Arial-Bold.ttf
+#displayFontTT Helvetica-BoldOblique	/usr/openwin/lib/X11/fonts/TrueType/Arial-BoldItalic.ttf
+#displayFontTT Courier			/usr/openwin/lib/X11/fonts/TrueType/CourierNew.ttf
+#displayFontTT Courier-Oblique		/usr/openwin/lib/X11/fonts/TrueType/CourierNew-Italic.ttf
+#displayFontTT Courier-Bold		/usr/openwin/lib/X11/fonts/TrueType/CourierNew-Bold.ttf
+#displayFontTT Courier-BoldOblique	/usr/openwin/lib/X11/fonts/TrueType/CourierNew-BoldItalic.ttf
+#displayFontTT Symbol			/usr/openwin/lib/X11/fonts/TrueType/Symbol.ttf
+displayFontT1 ZapfDingbats		/opt/csw/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
+# directories containing the font files.  Xpdf will only look at .pfa,
+# .pfb, and .ttf files in those directories (other files will simply
+# be ignored).
+
+#Extra Fonts
+
+displayFontT1 Palatino-Roman		/opt/csw/share/ghostscript/fonts/p052003l.pfb
+displayFontT1 Palatino-Bold		/opt/csw/share/ghostscript/fonts/p052004l.pfb
+displayFontT1 Palatino-Italic		/opt/csw/share/ghostscript/fonts/p052023l.pfb
+displayFontT1 Palatino-BoldItalic	/opt/csw/share/ghostscript/fonts/p052024l.pfb
+
+fontDir		/usr/openwin/lib/X11/fonts/TrueType
+
+#----- PostScript output control
+
+# Set the default PostScript file or command.
+
+#psFile			"|lpr -Pmyprinter"
+psFile			"|lp"
+
+# Set the default PostScript paper size -- this can be letter, legal,
+# A4, or A3.  You can also specify a paper size as width and height
+# (in points).
+
+#psPaperSize		letter
+
+#----- text output control
+
+# Choose a text encoding for copy-and-paste and for pdftotext output.
+# The Latin1, ASCII7, and UTF-8 encodings are built into Xpdf.  Other
+# encodings are available in the language support packages.
+
+#textEncoding		UTF-8
+
+# Choose the end-of-line convention for multi-line copy-and-past and
+# for pdftotext output.  The available options are unix, mac, and dos.
+
+#textEOL		unix
+
+#----- misc settings
+
+# Set the anti-aliasing mode for t1lib and FreeType.  These can be low
+# or high (anti-aliasing), plain (no anti-aliasing), or none (disable
+# the rasterizer entirely).
+
+#t1libControl		low
+#freetypeControl	low
+#t1libControl		high
+#freetypeControl	high
+
+enableT1lib		no
+enableFreeType		yes
+antialias 		yes
+
+# Set the command used to run a web browser when a URL hyperlink is
+# clicked.
+
+#urlCommand	"netscape -remote 'openURL(%s)'"
+
+
+
+
+
+
+
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list