Jason Fugal wrote:
Can you post the solution as a reply to you original post for posterity's
sake (and my curiosity's)?

I ended up with the following lines in my .Xresources file:
xpdf.reverseVideo:    true
xpdf.geometry:            800x600
xpdf*foreground:        white
xpdf*background:        black

geometry and reverseVideo are xpdf variables, therefore they get the dot
operator.  Man pages don't say anything about reverseVideo even needing to
have a value set.  Man page doesn't tell what any of the possible allowed
values are for any of the variables.  (arrrrg!)  foreground and background
variables are standard X resource variables, so I guess that is why they get
the astrisc.  Man page also says nothing about adding colons.
Since my default screen resolution is 800x600, xpdf.geometry:     800x600
causes xpdf to launch in a maximized window.  I suspect that setting
xpdf.geometry to any value that matches the default screen resolution will
cause xpdf to launch in maximized window.

I also learned a thing or two about creating a .xpdfrc file in my home dir.
Copy /etc/xpdfrc to ~/.xpdfrc and add :
initialZoom     2
to set the default zoom level to +2, or you can use another value, possibly
those values available through the xpdf user interface Zoom selector.  I
thought this might be handy for a wider range of users.
A .xpdfrc file can also be used to change fonts in xpdf.

Thane
  -----Original Message-----
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Thane Andersen
  Sent: Monday, September 29, 2003 10:31 PM
  To: [EMAIL PROTECTED]
  Subject: [uug] xpdf reverseVideo


  Hi everyone.  I'm trying to configure xpdf with some special settings.
Tha man page for xpdf says this:

  -rv    Set reverse video mode.  This reverses  the  colors
        of  everything  except  images. It may not always
        produce great results for PDF files which do  weird
        things  with  color.   This  also  causes the paper
        color  to   default   to   black.    [X resource:
        xpdf.reverseVideo]

  Problem I'm having is that xpdf.reverseVideo when put in my .Xresources
file is being ignored.  Other settings are being read, such as:
  xpdf*foreground:    white
  xpdf*background:    black
  (These set the colors for the user interface, and not the document).
  These work just fine.
  Does anyone know how to make the xpdf.reverseVideo option to work?  to
easily see the color scheme I need, do the following from a shell prompt:
  "xpdf -rv filename.pdf"      on some pdf file you may have kicking around.

  Thank you
  Thane
____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to