Exported PDF shows data in wrong direction for Arabic language

Exported PDF shows data in wrong direction for Arabic language

NanjiNanji Posts: 5Questions: 4Answers: 0

Hi,

I have table which has data in Arabic. It shows perfect when it is in table. But when I export PDF, direction of the sentence change and position of the word inverse. For example if there is a sentence of 3 words like "word1 word2 word3", pdf shows "word3 word2 word1"

Please find project sample on this link.

Please suggest solution

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    This thread should help, it's asking the same thing.

    Cheers,

    Colin

  • NanjiNanji Posts: 5Questions: 4Answers: 0

    @colin

    It has different question. My question is about wrong direction of words in PDF. That question is about how to generate PDF with other language.

    Please help me.

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    Ah, I see. It looks like an issue with PDFMake - see this thread here on their support forum.

    A workaround would be to use orthogonal data for the export, and reverse the words before sending to PDFmake. This is an example of that here - see myExport.

    It's clunky but I can't think of any other way around the issue.

    Colin

  • rec_progrec_prog Posts: 2Questions: 1Answers: 0

    have you found a solution @Nanji ? i have the same problem ...

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    The only solution is my comment - which also contains an example.

    Colin

  • ebrahim_tawafebrahim_tawaf Posts: 2Questions: 0Answers: 0

    Is the any update about this error????? I have the same error

  • ebrahim_tawafebrahim_tawaf Posts: 2Questions: 0Answers: 0

    Is there any update about this error????? I have the same error

  • tangerinetangerine Posts: 3,342Questions: 35Answers: 394

    Colin's post of July 27 is the only solution.

  • BeveronBeveron Posts: 1Questions: 0Answers: 0

    Is there any update about this error????? I have the same error

  • kthorngrenkthorngren Posts: 20,143Questions: 26Answers: 4,736
    edited March 2021

    @Beveron Please read Colin's post. He links to the issue in PDFMake. The PDFMake developers will need to fix the PDFMake library. If you want a status for a fix then contact the PDFMake developers. Otherwise you can use the workaround Colin provided.

    Kevin

This discussion has been closed.