+ Reply to Thread
Results 1 to 3 of 3

Thread: New PDF plugin 2.2.0 problem with unicode characters

  1. #1

    New PDF plugin 2.2.0 problem with unicode characters

    Flynax new PDF plugin 2.2.0 which uses dompdf library, shows unicode characters like arabic/farsi as a string of question marks ????????
    It was tested with demo.
    Attached Images Attached Images

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,137
    Hello,

    Try to use other font for Arabic

    go to plugins > PdfExport > PdfExport.inc.php

    below the:
    PHP Code:
    Only registered members can view the code
    add the following:
    PHP Code:
    Only registered members can view the code

  3. #3
    [QUOTE=Rudi;26436]Hello,

    Try to use other font for Arabic

    go to plugins > PdfExport > PdfExport.inc.php

    below the:
    PHP Code:
    Only registered members can view the code
    add the following:
    PHP Code:
    Only registered members can view the code
    /QUOTE]

    Thanks Rudi, this is a step forward, but there is still some problems. In Farsi or Arabic, most of the words are combined of letters stick together, but now, it shows them as a separate letters. For example it shows این (this) as a three separate letters ن ی ا
    or below sentence sample:
    این یک تست است (this is a test)
    It shows like below:
    ت س ا ت س ت ک ی ن ی ا
    also shows them LTR which should be RTL

    There was no problem with tcpdf library.
    Last edited by Bahram Soltanirad; June 15, 2019 at 05:39 AM.

+ Reply to Thread