Fixed use of "landscape" orientation with PostScript printing/output.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9156 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
8ff32e11d6
commit
1e88511efa
@ -631,7 +631,7 @@ void Fl_PostScript_Graphics_Driver::page(double pw, double ph, int media) {
|
||||
}
|
||||
++nPages;
|
||||
fprintf(output, "%%%%Page: %i %i\n" , nPages , nPages);
|
||||
fprintf(output, "%%%%PageBoundingBox: 0 0 %d %d\n", (int)pw, (int)ph);
|
||||
fprintf(output, "%%%%PageBoundingBox: 0 0 %d %d\n", pw > ph ? (int)ph : (int)pw , pw > ph ? (int)pw : (int)ph);
|
||||
if (pw>ph){
|
||||
fprintf(output, "%%%%PageOrientation: Landscape\n");
|
||||
}else{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user