Linux 14.980 Themen, 106.326 Beiträge

xpdf settings

edico / 12 Antworten / Flachansicht Nickles

Hej,
wo kann ich xpdf-settings konfigurieren? Ich will den viewer mit bestimmer PaperSize und Zoom-Grösse starten.

Situation:
- OS SuSE-8.0
- Ich habe keinen systemweiten config-file.
- Ich habe keinen lokalen config-file.

Massnahmen:
- Ich habe keine weiterführenden Hinweise im 3w im Vergleich zu bisherigen Massnahmen gefunden.
- Ich habe auf / alle files nach xpdf durchsucht; nichts gefunden.
- Da lt. manuals und sonst. infos zunächst der lokale config-file gelesen wird,
habe ich ~/.xpdf kreiert mit
---8> psPaperSize A4
initialZoom page
---8> Result: keine Veränderung

Was habe ich übersehen?
Danke. edico

bei Antwort benachrichtigen
Anhang NANÜ
FreddyK. edico „Hej, @NANÜ: tja, gegoogled hatte ich natürlich vorher, aber da finde ich keine...“
Optionen

meine xpdfrc:

-schnipp-


#========================================================================
#
# xpdfrc file
#
# The Xpdf tools look for a config file in two places:
# 1. ~/.xpdfrc
# 2. /etc/xpdf/xpdfrc
#
# For complete details on config file syntax and available options,
# please see the xpdfrc(5) man page.
#
# 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 "-*-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/share/fonts/type1/gsfonts/n021003l.pfb
displayFontT1 Times-Italic /usr/share/fonts/type1/gsfonts/n021023l.pfb
displayFontT1 Times-Bold /usr/share/fonts/type1/gsfonts/n021004l.pfb
displayFontT1 Times-BoldItalic /usr/share/fonts/type1/gsfonts/n021024l.pfb
displayFontT1 Helvetica /usr/share/fonts/type1/gsfonts/n019003l.pfb
displayFontT1 Helvetica-Oblique /usr/share/fonts/type1/gsfonts/n019023l.pfb
displayFontT1 Helvetica-Bold /usr/share/fonts/type1/gsfonts/n019004l.pfb
displayFontT1 Helvetica-BoldOblique /usr/share/fonts/type1/gsfonts/n019024l.pfb
displayFontT1 Courier /usr/share/fonts/type1/gsfonts/n022003l.pfb
displayFontT1 Courier-Oblique /usr/share/fonts/type1/gsfonts/n022023l.pfb
displayFontT1 Courier-Bold /usr/share/fonts/type1/gsfonts/n022004l.pfb
displayFontT1 Courier-BoldOblique /usr/share/fonts/type1/gsfonts/n022024l.pfb
displayFontT1 Symbol /usr/share/fonts/type1/gsfonts/s050000l.pfb
displayFontT1 ZapfDingbats /usr/share/fonts/type1/gsfonts/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).

#fontDir /usr/local/fonts/bakoma

#----- PostScript output control

# Set the default PostScript file or command.

psFile "|lpr"

# 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). Xpdf uses the paper size in /etc/papersize by default.

#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

# Set the command used to run a web browser when a URL hyperlink is
# clicked.

urlCommand "sensible-browser '%s'"

# Include the language configuration file list generated by update-xpdfrc
include /etc/xpdf/includes


-schnapp-

Die Pfade für die Fonts evtl anpassen. Oder: das ganze Programm
nochmal installieren, kann doch nicht sein, daß SuSE keine
Konfigurationsdatei dafür hat...
Oder: nochmal _gründlich_ nach der Datei suchen.

Dieser Beitrag wurde unter Debian GNU/Linux 7.1 Wheezy verbrochen. https://de.wikipedia.org/wiki/Vorratsdatenspeicherung
bei Antwort benachrichtigen