• Resolved Elba Mai

    (@mindtomatter)


    Hi,

    Recently we’ve noticed our PDFs look like they have line-height set to 0, as in all text lines are on top of eachother. If we view as HTML to debug the display is as expected.

    I’ve searched our code base for your action hooks and we don’t have any custom templates.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hello @mindtomatter,

    It sounds like you might need to re-install your fonts.

    Could you please click on the Reinstall fonts button under WooCommerce > PDF Invoices > Status?

    Let me know if it worked!

    Thread Starter Elba Mai

    (@mindtomatter)

    Just to update you. We have some errors in our log relating to the plugin. We have the latest version installed.

    PHP Notice: Undefined index: woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/lib/Cpdf.php on line 5152

    PHP Warning: Invalid argument supplied for foreach() woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FontMetrics.php on line 144

    Plugin Contributor Ewout

    (@pomegranate)

    @mindtomatter I believe those will be fixed (together with the actual issue at hand) when you reinstall the fonts. Can you let us know if that does the trick?

    Plugin Contributor Darren Peyou

    (@dpeyou)

    Hello @mindtomatter,

    Were you able to fix those errors by re-installing your fonts?

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hello @mindtomatter,

    Since we haven’t heard back from you in the last two weeks, we’re assuming you found a fix, so I’ll go ahead and mark this ticket as Resolved.

    Feel free to open a new topic if you have any more questions!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘styling broken in pdf’ is closed to new replies.