There is a web page using the CSS technique I have mentioned here - view the HTML source to see how the CSS is used with Unicode character encodings :
http://www.unicode.org/unicode/standard/translations/arabic.html
Before using any CSS based solution , you will have to emit the correct character encoding for your document : these should work for your users --
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-6"> or
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
You might find some help here - its the Arazilla (Mozilla) arabic fonts program :
http://www.langbox.com/AraZilla/index_ar.html
They have a mailing list which might be more appropriate to your problem.
subscribe to <mailto:[EMAIL PROTECTED]?subject=subscribe>[EMAIL PROTECTED] by putting "subscribe" in the subject.
describe your point or your suggestion to <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
Regards,
Neil Smith.
At 22:58 07/01/2003 +0000, you wrote:
Message-ID: <001e01c2b648$95bff100$c352dbd9@mottaghi> From: "Mottaghi" <[EMAIL PROTECTED]> To: "PHP Windows Helplist" <[EMAIL PROTECTED]> Date: Tue, 7 Jan 2003 15:59:04 +0330 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: [PHP-WIN] Fwd: Re: Subject: GD, UNICODE & RTLHi, look... in Arabic/Persian Languages we have 4 forms of one character that it has only one UNICODE code, for example the "سسس" has 3 different view, "the first SIN", "the middle SIN" and "the last SIN". all of these three "SIN" will mix together like Latin hand writings (freehand). i reverse my sentences...but i cant write them currect on an image! OK, but How can i use CSS to export an image file??? :) Thanks a lot ----- Original Message ----- From: "Neil Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 3:43 PM Subject: Re: [PHP-WIN] Fwd: Re: Subject: GD, UNICODE & RTL > Well if you *insist* on using GD - but I promise you, CSS is a better way > to do this. > > You will need to generate your string, spilt the string into an array of > characters using the # character as a separator, then join your array in > reverse order to a new (reversed) string. > You can then pass this string to the imagettftext function. > > Of course, I am assuming you know how to use the GD functions, and that you > have a suitable arabic font with corresponding Unicode characters.
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php