Could someone please help me?
When I Extract an arbic list or view to pdf or word i can’t the arabic text also i have the name of fields on database not the update caption.
Simply enable “Export field caption” option from “Tools” → “Advanced Settings”, then re-generate ALL the script files, and try again.
Hello Friend
It does’nt work friend fields caption was changed into ??? despite charset is utf_8 also décimal value appear like this 0?000 comma was changed to ?.
Thanks
Now it is working with :PdfFont =>Dejavusanscondensed
Rest only one problem text is written from left to right despite on display view or list is “rtl”.
The problem is on Pdf.
I believe dompdf does not support RTL itself, but it seems that TCPDF does, see their example here: https://github.com/tecnickcom/TCPDF/blob/64fc19439863e1b1314487a72a74d9bfd0b55a53/examples/example_018.phpSince you use Dejavu font with TCPDF, you can try to customize the class ExportPdf based on the example, e.g.Note: I did not test and I don’t know if it works or not, I only copy code from the example.$dompdf = new \Dompdf\Dompdf([“pdf_backend” => “TCPDF”]); // Code in export() method of the class ExportPdf// get the TCPDF instance
$pdf = $dompdf->getCanvas();// set some language dependent data:
$lg = Array();
$lg[‘a_meta_charset’] = ‘UTF-8’;
$lg[‘a_meta_dir’] = ‘rtl’;
$lg[‘a_meta_language’] = ‘fa’;
$lg[‘w_page’] = ‘page’;// set some language-dependent strings (optional)
$pdf->setLanguageArray($lg);