Added %%PageBoundingBox clause in each PostScript page so Evince, the Gnome doc
viewer recognizes page formats. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
258949918c
commit
77e393f9b6
@ -633,6 +633,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);
|
||||
if (pw>ph){
|
||||
fprintf(output, "%%%%PageOrientation: Landscape\n");
|
||||
}else{
|
||||
|
Loading…
Reference in New Issue
Block a user