r17305 by fschmid - PostScript Exporter: fixed table cell fills.
scribus-commit
scribus-commit at lists.scribus.net
Wed Feb 15 22:32:51 UTC 2012
Author: fschmid
Date: Wed Feb 15 22:32:50 2012
New Revision: 17305
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17305
Log:
PostScript Exporter: fixed table cell fills.
Modified:
trunk/Scribus/scribus/pslib.cpp
Modified: trunk/Scribus/scribus/pslib.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17305&path=/trunk/Scribus/scribus/pslib.cpp
==============================================================================
--- trunk/Scribus/scribus/pslib.cpp (original)
+++ trunk/Scribus/scribus/pslib.cpp Wed Feb 15 22:32:50 2012
@@ -2685,7 +2685,7 @@
double y = c->asTable()->rowPosition(row);
double width = c->asTable()->columnPosition(lastCol) + c->asTable()->columnWidth(lastCol) - x;
double height = c->asTable()->rowPosition(lastRow) + c->asTable()->rowHeight(lastRow) - y;
- PutStream(ToStr(x)+" "+ToStr(c->asTable()->tableHeight() - y)+" "+ToStr(width)+" "+ToStr(-height)+" rectfill\n");
+ PutStream(ToStr(x)+" "+ToStr(-y)+" "+ToStr(width)+" "+ToStr(-height)+" rectfill\n");
PS_restore();
}
}
More information about the scribus-commit
mailing list