#19 Table display - fix center bug

v3.0b
open
nobody
None
5
2010-08-10
2010-08-10
zlorf
No

I noticed that tables are not centered correctly: they were moved slightly to the left.

FIX:
html2fpdfd.php, function _tableWrite, line about 2822.
WERE:
$right = $this->pgwidth - $this->rMargin;
SHOULD BE:
$right = $this->fw - $this->rMargin;

Because right margin has already been substracted from pgwidth, $right behaves as if it had double margin.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks