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

Help Needed: Correcting Inverted Arabic Text in Adobe Illustrator Using ExtendScript

Community Beginner ,
Jun 19, 2024 Jun 19, 2024

Copy link to clipboard

Copied

Hello Everyone,

I'm currently working on developing an extension for Adobe Illustrator that involves performing actions within the host application. However, I've encountered an issue with Arabic text that I'm hoping to get some help with.

When you copy Arabic text from a web page, notepad, or any other source and paste/drop it into an Illustrator document, the text appears inverted, with the character positions reversed. Essentially, the Arabic string is visually reversed. I found a solution online from the Adobe Illustrator User Guide, which I've linked below. Following the steps in the guide, I was able to correct the string so it appears correctly visually.

Now, I am trying to achieve the same result programmatically. However, I haven't been able to find the right Adobe Illustrator properties or methods to do this using ExtendScript.

For reference, I've attached two images:
- Image 1: Arabic text that appears correct visually. (Source)
- Image 2: Arabic text in reverse order after being pasted/dropped into an Illustrator document.

Could someone kindly provide guidance on the correct properties or methods I need to use in ExtendScript to fix this issue?

Thank you in advance for any assistance you can provide.

https://helpx.adobe.com/illustrator/using/arabic-hebrew.html [Adobe Illustrator User Guide Link]

TOPICS
Feature request , How-to , Scripting , Tools

Views

81

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
Adobe
Community Expert ,
Jun 20, 2024 Jun 20, 2024

Copy link to clipboard

Copied

LATEST

There was a similar topic, so I answered it here. Please refer to it.

Apply Character direction to textframe characters via Extendscript

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