Arabic in Photoshop CS3 in Mac OS X
If you have had difficulties typing Arabic text into Photoshop, I have created a Google Code project to develop an open-source script that will provide a solution: Arabic4MacPhotoshop. The Photoshop Script that I wrote will enable Photoshop users to create properly shaped Arabic text in Photoshop graphics.
Currently, Arabic text in Photoshop on Mac appears as disconnected characters in backwards-order (pictured to the right). My script, which does not work in all cases and may require some additional fiddling on the part of the user, will automatically convert Arabic text you have entered into Photoshop into legible Arabic script. It will automatically remove all diacritic marks from your text and create individual text layers for each marking, so that you can position them in the correct spot above the appropriate letter. Unfortunately, I don’t know of any simple way to avoid this extra step for the time being.
What this script does is evaluate Arabic characters to determine what the correct shape should be, whether it is at the beginning, middle, or end of a word, and what the preceding character is. It then converts the Unicode representation in memory to the one for the specific ligature rather than the base character. It will then create a new Text Layer with the “fixed” text, as well as additional layers for any diacritic mark (fatha, domma, kasra, shaddeh, etcetera). If you wish to edit your text after this point, you must repeat the process and edit the original, disconnected, backwards text, rather than the “fixed” text. Otherwise you will run into problems.
While this script does not solve all issues, it provides an alternative fix for probably an overwhelming amount of Arabic work that needs to be done in Photoshop. One solution for Mac Photoshop users is this $1,700 modified application which supposedly has completely integrated Arabic functionality as well as other features. I have never used this program since it is more expensive even than the original Photoshop. The other option is to use the free and open-source program the GIMP, which works on Windows, Linux, and Mac, and fully supports Arabic text.
If you are interested in viewing or contributing to the source code for this project in order to make future improvements, please visit the project site: Arabic4MacPhotoshop. Also feel free to report any problems and suggestions so that they might be improved. As this script is released under the GPLv3, any and all revisions must in distribution include the source code in its entirety, and commercial use or reproduction is prohibited.




10 Responses to “Arabic in Photoshop CS3 in Mac OS X”
By Yazan on Jun 15, 2008
If you were on the same continent I’d jump and kiss u “bei 3yonak”! ;)
By saint on Jun 15, 2008
Great work, hope others will take advantage.
Hope you will have a window version in the future.
But thank you, you reminded me to download GIMP to my daughter since she asked me for photoshop and this is for free and better than upgrading the old photoshp.
Thanks
By yaman on Jun 15, 2008
Hi saint, I don’t have windows but does the same problem exist for the Windows Photoshop? If so, then this script might actually work on Windows as well..
Yazan, be careful what you wish for, because we will be on the same continent next week I think ;-)
By عزير on Jun 17, 2008
That’s amazing!
I’ve been typing in Word then using the snipping tool to make a PNG graphic to place into Photoshop, but this is very cool!
By alharaka on Jun 17, 2008
ربنا يخليك! But still, I do not understand why people just give up and use GIMP. Unless you are professionally required to use Photoshop, we should support more Adobe bloatware.
By yaman on Jun 17, 2008
There are a lot of things people should and shouldn’t do but choice of software is, in this case, the last thing I will argue about :) I would say the main reason though is that the GIMP requires more “know-how” in order to reproduce pre-packaged Photoshop filters.
By kimo on Jul 28, 2008
sorry..but how do I install the script? do i just add it in the PS plug-ins folder?
thanks!
By yaman on Jul 29, 2008
kimo, there is no installation for the script. You can place it anywhere you would like on your hard drive, and when you would like to use it, simply go to File–>Scripts–>Browse and then select the file on your hard drive and it will run automatically. You will need to run the script for each Arabic text layer individually, every time you type new text.
By kimo on Jul 30, 2008
thanks a lot for the tip yaman..will def try it out today..great work! keep it up :)
By Debbie on Aug 11, 2008
Great script!….you saved me hours of work:D