Merge pull request #80 from NikkiDelRosso/master

Handle side padding correctly on writeHTML
This commit is contained in:
Nicola Asuni 2018-02-19 14:13:15 +00:00 committed by GitHub
commit 505a521c30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17176,10 +17176,10 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
if ($cell) {
if ($this->rtl) {
$this->x -= $this->cell_padding['R'];
$this->lMargin += $this->cell_padding['R'];
$this->lMargin += $this->cell_padding['L'];
} else {
$this->x += $this->cell_padding['L'];
$this->rMargin += $this->cell_padding['L'];
$this->rMargin += $this->cell_padding['R'];
}
}
if ($this->customlistindent >= 0) {