You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current doc block for the $size param of \setasign\SetaFpdf\SetaFpdf::SetFont() is:
@param string $size Font size in points. The default value is the current size. If no size has been specified
since the beginning of the document, the value taken is 12.
Which calls internally \setasign\SetaFpdf\Modules\Font::set() which has the following doc block for $size:
@param string $size
But the size will be written into \setasign\SetaFpdf\StateBuffer\Font::$currentFontSize (without casting) which expects int|float.
The default of Fpdf for this method is also the integer 0 and not an empty string. This should be fixed.
The text was updated successfully, but these errors were encountered:
The current doc block for the
$size
param of\setasign\SetaFpdf\SetaFpdf::SetFont()
is:Which calls internally
\setasign\SetaFpdf\Modules\Font::set()
which has the following doc block for$size
:But the size will be written into
\setasign\SetaFpdf\StateBuffer\Font::$currentFontSize
(without casting) which expectsint|float
.The default of Fpdf for this method is also the integer 0 and not an empty string. This should be fixed.
The text was updated successfully, but these errors were encountered: