• Resolved IMRAN NAEEM

    (@ninzas)


    Hi,
    Peace be upon you. Thanks for the excellent plugin. I am having a simple issue which is
    Unicode Bengali Text Not Showing in Invoice PDF. I tried to embed the custom font using font-face but still no change. Some Unicode Bengali font is SolaimanLipi, Siyam Rupali, Kalpurush etc. (Search on google to find the font download link). How do I solve this issue? Thanks in Advance

    Screenshot: https://prnt.sc/rrd9sh

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

Viewing 3 replies - 16 through 18 (of 18 total)
  • I think the easiest solution is,
    Print HTML without automatically generating a PDF and then move it directly to the print option. As all these plugins do.
    Print Invoice & Delivery Notes for WooCommerce
    WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels
    Because it’s supporting Unicode but fonts are broken. In HTML format it’s work fine.
    I think, an option can be placed in the settings of the plugin. Whether you want to print HTML or convert to Direct PDF.

    • This reply was modified 3 years, 11 months ago by devceer.
    Plugin Contributor Ewout

    (@pomegranate)

    @devceer I’ve said this above but I’ll state again: The plugin is fully compatible with Unicode, but

    1. If you need a custom font (or additional character set support, such as Bengali that this thread was about) you’ll need to follow instructions from the documentation here.
    2. If you need RTL text direction support, or out of the box support for Arabic, Chinese, Japanese & Korean (and Bengali), we have the mpdf extension. This does not require any custom fonts for unicode support, because the base font supplied with that extension (if you pick the .CJK release) already is unicode complete.
    3. If you need a custom font in mpdf (the only reason I can think of for this is if you need RTL direction but you don’t like the default mpdf font), you can follow the instructions from my previous post.

    You can enable “output to HTML” in the Status tab of the plugin, but this is limited because:
    1. You can’t send that as an attachment (because you can’t include images, font files etc, plus you can’t predict what the layout would look like at the user end).
    2. Footers and other media-specific positioning is limited in the browser.

    Hi, I am having the same issue with Bangla font and installed mPDF version from here https://github.com/wpovernight/woocommerce-pdf-ips-mpdf/releases, both CJK and non CJK.

    But when mpdf version enable, whatever the template or with custom font for Simple MPDf version, bangla font showing as box.

    It seems mpdf version is 2.2, are you not supporting it anymore. Really need your plugin for the sign feature after pdf downloads.

    Thanks
    Julash

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Unicode Font not Showing’ is closed to new replies.