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
{{ message }}
Repository navigation
A table with a font-size and a row with text-rotate throws a TypeError on PHP 8 #632
Index 11 of the cell's first text-buffer entry is the font size, and here it is an empty string. PHP 7 read it as 0, but PHP 8 refuses to divide a string.
Without the table's font-size, the same document renders.
With a font-size on the cell as well as the table, it still throws.
Reproduced on gravitypdf at de2a2d4, on PHP 8.5. It was found while testing #535's standard cascade, which reaches this path from TableSnapshotTest.
Activity
Measure rotated text in a table cell at the font size already in force (
jakejackson1 commentedon Sep 30, 2026
Fixed in #631.