Menu

#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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.