When running PHP 8.1, calling TCPDF functions (for example, downloading a PDF via Webform2PDF module) puts many notices in the dblog like this:
Deprecated function: Implicit conversion from float 1.3461999999999998 to int loses precision in TCPDF->getRawCharWidth() (line 4137 of /mysite/modules/contrib/tcpdf/tcpdf/tcpdf.php).
The current bundled version is 6.3.5. Upgrading to a newer version of TCPDF, like 6.6.2, eliminates the notices.
When running PHP 8.1, calling TCPDF functions (for example, downloading a PDF via Webform2PDF module) puts many notices in the dblog like this:
Deprecated function: Implicit conversion from float 1.3461999999999998 to int loses precision in TCPDF->getRawCharWidth() (line 4137 of /mysite/modules/contrib/tcpdf/tcpdf/tcpdf.php).
The current bundled version is 6.3.5. Upgrading to a newer version of TCPDF, like 6.6.2, eliminates the notices.