🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #369

Re: output of dvips too large in gs2.5

#369
From: Russell Lang
Date: Fri, 11 Sep 1992 06:59
19 lines
1458 bytes
iigsa01@convex.zdv.uni-tuebingen.de (Andreas Schilling) writes:
>If I replace all occurences of a4 (my paper size, works exactly the same with
>letter) with a1234 in my PS file, then the scaling is fine. Maybe dvips uses
>a4 in a different way than GS, or maybe setting the paper size in GS uses the
>horizontal size of the screen and the document to fit the size???

It is a bug in gs 2.5.  Should be fixed in the next version of gs.
It is doing exactly what you think - matching the width of the paper
to the width of the screen.

If you have a compiler and the time to recompile ghostscript,
change line 369 of gsdevice.c from:
    double ratio = max(width_ratio, height_ratio);
to
    double ratio = min(width_ratio, height_ratio);
-- 
Russell Lang   Email: rjl@fawlty4.eng.monash.edu.au   Phone: (03) 565 3460
Department of Electrical and Computer Systems Engineering
Monash University, Australia
Technical Details
Message-ID: <rjl.716194752@fawlty7.eng.monash.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!fawlty7.eng.monash.edu.au!rjl
References: <iigsa01.715937583@convex>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!fawlty7.eng.monash.edu.au!rjl
From: rjl@fawlty7.eng.monash.edu.au (Russell Lang)
Newsgroups: gnu.ghostscript.bug
Subject: Re: output of dvips too large in gs2.5
Message-ID: <rjl.716194752@fawlty7.eng.monash.edu.au>
Date: 11 Sep 92 06:59:12 GMT
References: <iigsa01.715937583@convex>
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: Monash University, Melb., Australia.
Lines: 19
Approved: bug-ghostscript@prep.ai.mit.edu