Hi @swerlz,
I believe this issue is related to fonts.
We just released version 2.9.0 which I believe should address your issue. 🙂
Could you update your plugin & verify for us?
When the font folder in the temporary wcpdf folder is cleared (but not deleted) or when the font cache files (.ufm.php and .afm.php) are deleted for whatever reason (most likely as a result of a false positive in a virus scan), the fonts can no longer be properly loaded and texts appear stacked.
dompdf (the library we use to convert HTML to PDF) actually provides a built-in fallback to ‘distributed’ (bundled) fonts if the fonts cannot be loaded from the fonts path, but our version was missing a ‘slash’ (DIRECTORY_SEPARATOR) in the path, so that this fallback would work.
Thread Starter
swerlz
(@swerlz)
update fixed it, thank you