Menu

#185 "set page landscape" does not work with tabloid page size

open-fixed
5
2004-10-14
2004-10-14
No

Trying to use landscape mode on page sizes bigger than
letter size doesn't work properly.

My gri command files starts with

set page size tabloid
set page landscape

The problem is Gri generates a postscript translate
command which is hard coded for 8.5 inch page width:

8.5 72 mul 0 translate 90 rotate % Landscape

The result is only 8.5 inches of the page can be used.

I'm attaching a patch to src/set.cc that computes the
value for the translate command off of the page size
which fixes the problem.

Discussion

  • michael_chowla

    michael_chowla - 2004-10-14

    Patch to src/set.cc

     
  • michael_chowla

    michael_chowla - 2004-10-14
    • summary: "set page landscape" does not with tabloid page size --> "set page landscape" does not work with tabloid page size
     
  • Dan Kelley

    Dan Kelley - 2004-10-14
    • status: open --> open-fixed
     
  • Dan Kelley

    Dan Kelley - 2004-10-14

    Logged In: YES
    user_id=31559

    Thanks very much for the bug report, and, even more, for the patch.
    I've applied the patch to the CVS stream so that folks can benefit from
    your kind contribution. Dan.

     

Log in to post a comment.