Re: Arabic

From: Date: Thu, 07 Sep 2006 20:49:00 +0000
Subject: Re: Arabic
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-241457@lists.php.net to get a copy of this message
I have not done this before. I am unsure of how this could be done. Here is what comes to my mind: - I would think you would need to change the x-coordinate of the page to start from the top-right of the page -- instead of top-left. - The rendering of characters needs to be done from right to left. (Unless you do that already in your string generation code: basically flip the text.) - I wouldn't think you would need to manipulate anything with respect to the unicode characters. - The font needs to be provided or supported by pdflib. Please do let me know if you find an answer to this interesting problem. Regards. On 9/7/06, Ronald Cole <rcole@usip.org> wrote:
Hi,
        I'm trying to use pdflib to generate Arabic.
        Is this possible?
        If so, what font should one use?
        Someone has told me that I may need to manipulate the unicode
characters to change the order to right-to-left. Has anyone done this before? Thanks, Skip Ronald "Skip" Cole Program Officer United States Institute of Peace (http://www.usip.org) (202)457-1700 ext 4717 "The more you sweat in peace, the less you bleed in war" – Asian Proverb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Anas Mughal

« previous php.general (#241457) next »