9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] page and .ps bitmaps
@ 2007-07-25 12:07 Russ Cox
  2007-07-26 10:40 ` cej
  0 siblings, 1 reply; 4+ messages in thread
From: Russ Cox @ 2007-07-25 12:07 UTC (permalink / raw)
  To: 9fans

you can restart page with page -p 150 (or some other percentage)
and it will make the ps bigger or smaller using gs
and thus look better. 

i managed to make this work in a running page once
but i have misplaced the code at the moment.

russ


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [9fans] page and .ps bitmaps
  2007-07-25 12:07 [9fans] page and .ps bitmaps Russ Cox
@ 2007-07-26 10:40 ` cej
  0 siblings, 0 replies; 4+ messages in thread
From: cej @ 2007-07-26 10:40 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 765 bytes --]

yes i know this option, but my point was to see a zoomed-out document like it was resampled via 
'resample.c'  ... the code is already there, i noticed, but, again: it may be that page requests 
the already scaled document from gs, thus it being a responsibility of gs. 
dunno...

thanks, regards,
++pac



-----Original Message-----
From: 9fans-bounces+cej=gli.cas.cz@cse.psu.edu on behalf of Russ Cox
Sent: Wed 7/25/2007 2:07 PM
To: 9fans@cse.psu.edu
Subject: Re: [9fans] page and .ps bitmaps
 
you can restart page with page -p 150 (or some other percentage)
and it will make the ps bigger or smaller using gs
and thus look better. 

i managed to make this work in a running page once
but i have misplaced the code at the moment.

russ


[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 3358 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] page and .ps bitmaps
  2007-07-25  8:07 cej
@ 2007-07-25 11:29 ` Steve Simon
  0 siblings, 0 replies; 4+ messages in thread
From: Steve Simon @ 2007-07-25 11:29 UTC (permalink / raw)
  To: 9fans

The resizer in page(1) is fairly crude - it trades quality for speed.

On windows and the like the resizing is often done in hardware (in the graphics card),
unfortunaletly plan9 makes no use of such features so it has to do a pure
software implementation - hence the tradeoff.

-Steve


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [9fans] page and .ps bitmaps
@ 2007-07-25  8:07 cej
  2007-07-25 11:29 ` Steve Simon
  0 siblings, 1 reply; 4+ messages in thread
From: cej @ 2007-07-25  8:07 UTC (permalink / raw)
  To: 9fans


hi all,

when using 'page' to look at postscript files that include bitmaps, they appear rough unless they are
scaled 1:1 with original bitmap included within ps -- it may, however, be a problem of gs not resampling bitmaps properly:
i am ,unfortunately, not skilled enough to find out in sources how page calls gs,
sorry,
would like to know where the problem is,
thanks,

++pac

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-26 10:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-25 12:07 [9fans] page and .ps bitmaps Russ Cox
2007-07-26 10:40 ` cej
  -- strict thread matches above, loose matches on Subject: below --
2007-07-25  8:07 cej
2007-07-25 11:29 ` Steve Simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).