Support » Plugin: PriceList for WooCommerce » PDF output issue

  • Resolved hardtokill

    (@hardtokill)


    Plugin version: 1.0.5
    Wordpress version: 5.8, language ru_RU
    WooCommerce version: 5.5.2

    What’s happened?
    – After i clicked on the button “Download PDF” generated by [pricelist output=”pdf”] shortcode my website opens a new tab with URL https://obraz-jizni.ru/wp-admin/admin-post.php and text

    TCPDF ERROR: Could not include font definition file: dejavusans

    – Checked the internet and found that there weren’t “dejavusans.php” and “dejavusans.z” files in the plugin folder: /pricelist-for-woocommerce/libraries/tcpdf/fonts

    Solved a problem:
    – with adding font description and font package from the https://github.com/tecnickcom/TCPDF/tree/main/fonts

    Please, add files to the plugin’s package.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor simbaclaws

    (@simbaclaws)

    Dear hardtokill,

    Thank you for pointing out this issue, some things went wrong with updating the svn repository. I’m still in the process of learning how the svn command line tools work and made a few mistakes. I’m more familiar with git than svn.

    I now have succesfully added all the files to version 1.0.5 and the tag 1.0.5.

    Could you please remove the plugin from your wordpress installation and redownload/reinstall it from the official wordpress website or via the plugins setting?

    Please let us know if this fixes it.

    • This reply was modified 1 year, 6 months ago by simbaclaws.
    Plugin Contributor simbaclaws

    (@simbaclaws)

    Dear hardtokill,

    I just checked your website, and things seem to be working now.
    However, I did find out that the russian currency character still doesn’t work for the pdf.

    I think this has to do with the dejavusans font not having this character in it’s character set sadly enough.

    Perhaps we can find a way to support this character in dejavusans by adding it or use a different font that does have full support and convert this to a tcpdf format.

    We also found a bug related to installing the pro version while you have the free version installed that has our priority right now.

    So for now this currency issue has a low priority for us.
    I’m sorry if this inconveniences you.

    We’ll do our best to keep users of our plugin happy.

    Plugin Contributor simbaclaws

    (@simbaclaws)

    I’ll mark this ticket as resolved for now.

    If you want you can make a new ticket for the currency character.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PDF output issue’ is closed to new replies.