emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Arabic support


From: Jason Rumney
Subject: Re: Arabic support
Date: Thu, 02 Sep 2010 10:13:13 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

On 02/09/2010 01:55, Eli Zaretskii wrote:
Also, it looks like uniscribe_shape is repeatedly called from
font-shape-gstring to shape the same text that is progressively
shortened.  For example, the first call will be with a 7-character
string whose contents is

    {0x627, 0x644, 0x633, 0x651, 0x644, 0x627, 0x645}

The next call is with a 6-character string whose contents is

    {0x627, 0x644, 0x633, 0x651, 0x644, 0x627}

then a 5-character string {0x627, 0x644, 0x633, 0x651, 0x644}, etc.

This seems consistent with the output that is produced, which seems to repeat sequences within the text.

Regarding the double reordering, when I originally wrote the code for uniscribe, I did not understand how the bidi support for Emacs was going to work, so I included some bidi reordering in the uniscribe handling. Probably this needs to be reviewed now.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]