opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-gv@gnu.org 3 October 2008 • 12:04AM -0400

[help-gv] Problem with options -antialias/-noantialias
by Roland Schilling

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi,

I have a problem with the '-noantialias'/'-antialias' options
and already tried to get some help from 'comp.lang.postscript',
but to no avail.  Hence, I repeat here what I wrote to
'comp.lang.postscript':

I generate PS files of various sizes and would like them to
properly convert into PDF using ps2pdf14 .  But I had a problem
with formats larger then A4:  The generated PDF files only had
A4 format and showed the lower left corner of the PS file.
See the following example of an A3 plot in landscape:

%!PS-Adobe-3.0
%%BoundingBox: 0 0 843 1192
%%Orientation: Landscape
%%Title: test_A3_L
%%EndComments
843. 0. translate 90. rotate
2.83465 dup scale
1. setlinewidth
newpath 50. 30. 320. 210. rectstroke
showpage
%%EOF

To cure this problem I added the following 3 lines after
%%EndComments (see attached file 'test_A3L.ps'):

%%BeginSetup
<</PageSize[ 843 1192 ]>>setpagedevice
%%EndSetup

This works fine and yields a correct PDF file.  But when
viewing the PS file with GV the full-size picture is only
shown if the option '-antialias' is active; with '-noantialias'
it is clipped at a width of 843 points.  Another observation
is that, when viewing a multipage document (generated in the
kind shown above) with '-antialias' active, the part right of
843 points shows an overlap of the new and the previous page(s).
The can then be cured by switching 'antialias' off and on again.
What's wrong here?  Am I doing something wrong or am I missing
something, or is it a bug in GV?

Thanks in advance!

Roland


+----------------------------------------------------------------------+
|  Roland Schilling                      Home-Office: +49(89)32929-670 |
|  Max-Planck-Institut für Gravitationsphysik                          |
|  -- Albert-Einstein-Institut --                                      |
|  D-85748 Garching                           E-mail:   ros@rzg.... |
|  Germany                           http://www.geo600.uni-hannover.de |
+----------------------------------------------------------------------+
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.