hello, i have been using textimage module along with autoinsert module to convert my text into images and it ran like a charm with no problem. now i work in an Arabic website and i need to do the same thing. the problem now is that the characters appeared in a wrong way (reversed and un-joined). so my question is there any way to provide the textimage in way that support arabic and make the text show in right way.

the right one i'm trying to approach is :
http://www.flickr.com/photos/39212512@N00/3576299576/

the wrong one that appears on the site now is:
http://www.flickr.com/photos/39212512@N00/3576303822/

thanks.

Comments

demonrage’s picture

oh i forgot to say that the problem isn't font related cause i have tried the most basic system fonts like (Arial & Tahoma) still have no luck with it

deciphered’s picture

Status: Active » Closed (duplicate)

Hi,

Sorry for the inexcusably late response.

This is a duplicate of #470122: Accentuated letter, I am looking into an adequate fix for the issue, but haven't had much time to dedicate to Textimage of late.

Cheers,
Deciphered.

mohammed j. razem’s picture

Status: Closed (duplicate) » Needs review
StatusFileSize
new3.37 KB

Hi,

Here is a patch that uses an external library to support Arabic fonts and characters.

mohammed j. razem’s picture

StatusFileSize
new3.78 KB

Fixed a critical error if library is not downloaded.

mohammed j. razem’s picture

Title: arabi titles in textimage » Using Arabic fonts & characters with Textimage
demonrage’s picture

where can i download the persian_log library

mohammed j. razem’s picture

If you apply the patch. You'll find a link to the persian_log library.
Anyway it's located here. http://developer.berlios.de/project/showfiles.php?group_id=4533&release_...

demonrage’s picture

after applying the patch and adding the library it still doesn't work. it display the Arabian characters but vise-verse and cutup. you can see example here:
http://tasmeem.3alamtaney.com/test

mohammed j. razem’s picture

Please note that the patch should be applied to the dev version.

You'll notice a checkbox, that indicates if the preset is used for Arabic fonts. Please check it. then test it.

demonrage’s picture

when i use the dev verson an error appears to me which prevent me to make a new preset

user warning: Unknown column 'description' in 'field list' query: SELECT pid, name, description, settings FROM textimage_preset ORDER BY name in /home/pyraef3b/public_html/hosting/modules/textimage/textimage_admin.inc on line 657.

mohammed j. razem’s picture

Uninstall, then Install again.

demonrage’s picture

yes you r right. once i uninstall and install again everything run okay. there is also another bug that i managed to fix:

warning: bidi::require_once(./unicode_data.php): failed to open stream: No such file or directory in /home/pyraef3b/public_html/hosting/modules/textimage/persian_log/bidi.php on line 133.

i go to line 133 and changed require_once(./unicode_data.php) to require_once(unicode_data.php) and it worked without any problems now.

thanks for ur effort and help

mondrake’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)