Invalid store invoice text

Im using Shopware to create an Arabic online store, and the problem is that a pdf file is created in the store and the letters are not connected, for example:

ر ق م ا ل ف ا ت و ر ة

while he should be

رقم الفاتورة

What I have tried so far is to use different websafe fonts in the css cooler running PdfCreation, I found that the fonts are changing, but the letters are still not connected.

while surfing, I found that it uses the MPDF library to convert the index.tpl (Markup) file to pdf, I tried to specify the google font and use it for the body, but it did not load the font

Pdf example created with Shopware (under PdfCreation Preview)

+4
source share
1

, mPdf, Shopware mpdf 6.0, , mPdf 7.0 Github, FTP, mpdf engine/Library/Mpdf/, !

, -!

+5

Source: https://habr.com/ru/post/1670229/


All Articles