Download & Extend

Using Arabic fonts & characters with Textimage

Project:Textimage
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

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

#1

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

#2

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.

#3

Status:closed (duplicate)» needs review

Hi,

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

AttachmentSize
textimage-arabic-support.patch 3.37 KB

#4

Fixed a critical error if library is not downloaded.

AttachmentSize
textimage-arabic-support.patch 3.78 KB

#5

Title:arabi titles in textimage» Using Arabic fonts & characters with Textimage

#6

where can i download the persian_log library

#7

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_...

#8

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

#9

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.

#10

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.

#11

Uninstall, then Install again.

#12

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

nobody click here