emacs-devel
[Top][All Lists]
Advanced

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

Re: Composing Hebrew diacriticals


From: Kenichi Handa
Subject: Re: Composing Hebrew diacriticals
Date: Fri, 07 May 2010 09:48:05 +0900

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.

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.

---
Kenichi Handa
address@hidden
















reply via email to

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