emacs-devel
[Top][All Lists]
Advanced

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

Re: Composing Hebrew diacriticals


From: Yair F
Subject: Re: Composing Hebrew diacriticals
Date: Fri, 7 May 2010 07:41:54 +0300

On Fri, May 7, 2010 at 3:48 AM, Kenichi Handa <address@hidden> wrote:
> In article <address@hidden>, "Yair F." <address@hidden> writes:
>
>> Kenichi Handa <handa <at> m17n.org> writes:
>> > This will be ok.
>> >
>> > (set-char-table-range
>> >  composition-function-table '(#x591 . #x5F4)
>> >  '(["[\u0591-\u05F4]+" 0 font-shape-gstring]))
>> >
>
>> There are some restrictions on which characters are allowed to be composed.
>

Something like:

(set-char-table-range
 composition-function-table '(#x591 . #x5F4)
 (list (vector hebrew-composable-pattern 0 'font-shape-gstring)))

and now Needs to define hebrew-composable-pattern

> Yes.  If font_driver->shape is implemented correctly,
> font-shape-gstring should compose the given sequence with
> multiple grapheme clusters.
>
> But, I admit the above regexp is not optimal.  For
> efficiency, the regexp should match only with a character
> sequence that is composed into one grapheme cluster.




reply via email to

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