🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #3665

Re: OpenWindows PageView problems

#3665
From: J Greely
Date: Tue, 13 Nov 1990 23:21
19 lines
1410 bytes
In article <90Nov12.134718est.18498@me.utoronto.ca> sun@me.utoronto.ca
 (Andy Sun Anu-guest) writes:
>Does anyone have problems in using pageview (a postscript viewer) from SUN's
>OpenWindows?

I've done a fair amount of screen hacking in OpenWindows 2.0, mostly
without pageview (which doesn't really use the resolution you set).
The best thing to do is create your own window, and set the scaling to
get the right results.  Here's what I was doing (more or less):
	/C framebuffer newcanvas def
	0 0 500 500 rectpath
	% 80 dpi SLC
	300 80 div dup scale
	C reshapecanvas
	C/Mapped true put
	C setcanvas
	%setscreen here should produce a 300dpi screen
--
J Greely (jgreely@cis.ohio-state.edu; osu-cis!jgreely)
Technical Details
Message-ID: <JGREELY.90Nov13182115@morganucodon.cis.ohio-state.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!morganucodon.cis.ohio-state.edu!jgreely
References: <90Nov12.134718est.18498@me.utoronto.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!morganucodon.cis.ohio-state.edu!jgreely
From: jgreely@morganucodon.cis.ohio-state.edu (J Greely)
Newsgroups: comp.lang.postscript
Subject: Re: OpenWindows PageView problems
Message-ID: <JGREELY.90Nov13182115@morganucodon.cis.ohio-state.edu>
Date: 13 Nov 90 23:21:15 GMT
References: <90Nov12.134718est.18498@me.utoronto.ca>
Sender: news@tut.cis.ohio-state.edu
Reply-To: J Greely <jgreely@cis.ohio-state.edu>
Organization: Ohio State University Computer and Information Science
Lines: 19
In-reply-to: sun@me.utoronto.ca's message of 12 Nov 90 18:47:51 GMT