src/Pdf/Pdf.php
public function setFontSize(int $size): PdfInterface
    {
        $this->fontSize = (int) $size;
        $this->mpdf->SetDefaultFontSize($this->fontSize);

        return $this;
    }
public function setFontSize(int $size): PdfInterface
    {
        $this->fontSize = (int) $size;
        $this->mpdf->SetDefaultFontSize($this->fontSize);

        return $this;
    }
public function setFontSize ( int $ size ) : PdfInterface { $ this -> fontSize = ( int ) $ size ; $ this -> mpdf -> SetDefaultFontSize ( $ this -> fontSize ) ; return $ this ; }
Set the default font size.

@param int $size The font size (pt.)

@return PdfInterface The current interface

@api
Set the default font size .