• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
3

Arabic PDF characters are disjointed and reversed!

New Here ,
Oct 08, 2012 Oct 08, 2012

Copy link to clipboard

Copied

Hello guys,

I have a serious and urgent issue and I hope this expert community could help me out in finding a solution for it.

I have a magento CMS ecommerce based group buying deals website based in UAE and my developers have coded it in a way to send out PDF coupon vouchers in Arabic language to customers who bought the deal.

The problem is that the characters inside the PDF look very akward! They are disjointed and not connected together and they are displayed in a reversed order which can only be readable from left to right. So in other words the coupon vouchers in Arabic look extremely messy!

I have no idea what I need to do in order for me to fix this, do I need to work on the unicode? Is there a specific Arabic font I can use to resolve this?

Any help would be extremely appreciated guys!

Thank you

Ziad

TOPICS
Create PDFs

Views

193.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Oct 22, 2018 Oct 22, 2018

Copy link to clipboard

Copied

From what I see, it is not related to PDF or Acrobat, your CMS system may not support Arabic fully or it's not PDFing in the right way. The developers need to look into this matter, but I apologies for not having any suggestions for them.

View solution in original post

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 31, 2022 Aug 31, 2022

Copy link to clipboard

Copied

10 years later and this issue is STILL not fixed! Says a lot about a big company that has enough resources to fix any issues.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 16, 2022 Sep 16, 2022

Copy link to clipboard

Copied

Dear all: I have found a solution. Import the excel data into a software like STATA (import all data as string). Suppose your variable name is X. Use the command: 

replace X=ustrreverse(X)

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 22, 2023 Jun 22, 2023

Copy link to clipboard

Copied

A temporary solution could also be this python code written by ChatGPT
def reverse_words(input_string):
words = input_string.split()
reversed_words = [word[::-1] for word in words]
return ' '.join(reversed_words)

So you copy text from the pdf and put it in the python code and it does the job for you.
An example would be:
a="نيمدقتملاب"
print(reverse_words(a))# Output: بالمتقدمين

But the copying is still showing some other unexpected errors.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 30, 2024 Jul 30, 2024

Copy link to clipboard

Copied

I used FireFox browser to open PDF files it works. the Arabic  characters are shown correctly

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 23, 2024 Aug 23, 2024

Copy link to clipboard

Copied

LATEST

I'm using Adobce Acrobat professional directly without using any system and I have the same issue, I just open any PDF document on my desktop then I add text and I type arabic words and the letters are disconnected. I have this issue since years, all IT technicains any where in Arab world knows that Adobe Acrobat PDF can't handle arabic text well.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines