• Resolved swerlz

    (@swerlz)


    View post on imgur.com

    Hi, Our Styling for the invoiced and packing slips is all messed up.

    I have attached a screenshot (ignore the red bits).

    Is there a fix to this please?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Darren Peyou

    (@dpeyou)

    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

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Styling Messed Up’ is closed to new replies.