app/Report/ReportTcpdf.php
public function addMarginX(float $x): float
    {
        $m = $this->getMargins();
        if ($this->getRTL()) {
            $x += $m['right'];
        } else {
            $x += $m['left'];
        }
        $this->SetX($x);

        return $x;
    }
public function addMarginX(float $x): float
    {
        $m = $this->getMargins();
        if ($this->getRTL()) {
            $x += $m['right'];
        } else {
            $x += $m['left'];
        }
        $this->SetX($x);

        return $x;
    }
public function addMarginX ( float $ x ) : float { $ m = $ this -> getMargins ( ) ; if ( $ this -> getRTL ( ) ) { $ x += $ m [ 'right' ] ; } else { $ x += $ m [ 'left' ] ; } $ this -> SetX ( $ x ) ; return $ x ; }
Add margin when static horizontal position is used -PDF
RTL supported

@param float $x Static position

@return float
Add margin when static horizontal position is used - PDF RTL supported