[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2822.0. "dxpsview resources" by COOKIE::KITTELL (Richard - Architected Info Mgmt) Fri May 25 1990 16:56

Using UWS 2.2 with DPS extensions. I have been able to influence most of
the characteristics of the PostScript viewer with resources described (or
implied) in /usr/lib/X11/app-defaults/DPSViewer.

But I haven't been able to change the fore/background colors of the displayed
document, they are always black on white.

Also, I'd like to have the viewer come up with a 1.3 scale factor.

Can anyone help with the resource specifications for those two?

What I'm using now is listed below, including one of my many attempts at
setting the colors.

DPSViewer*background:			        black
DPSViewer*foreground:			        wheat
DPSViewer*highlight:			        light blue
DPSViewer.geometry:				884x835+129+20
DPSViewer.pixmapCacheSize:			2
DPSViewer.fileNamePrefix:			~/scratch/
DPSViewer*optionsMenu.comments.value:		False
DPSViewer*optionsMenu.windowDrawMode.value:	True
DPSViewer*Scrollw.forceBars: 			off
T.RTitleUserPersonal
Name
DateLines
2822.1DECWIN::FISHERPrune Juice: A Warrior's Drink!Tue May 29 1990 17:4310
You can't change the colors from a resource.  Only from the PostScript file.
Suppose you changed the background to beige rather than white.  Then a .ps
program wanted to clear an area to background.  Guess how it does that...
it sets everything to white.   So there is a logical inconsistency here...you
can't do it.

I quick look at the code shows that the scale is initialized to 1.0.  It does
not look at resources.

Burns
2822.2Ah yes, PS is a program...COOKIE::KITTELLRichard - Architected Info MgmtThu May 31 1990 11:552
Thanks for checking, Burns.
2822.3How can I watch the progress?FROTHY::TATLOWThe QuestionWed Oct 17 1990 20:4712
    I haven't been able to set the startup windowDrawMode.  I'd like it to
    come up watching the progress of the drawing, but I can't seem to
    figure out the resource name.
    
    DPSViewer*optionsMenu.windowDrawMode.value: True
    
    doesn't do it.  
    
    Any ideas?
    
    T?