[vlc-devel] [PATCH] freetype: render Arabic diacritics properly
salshaaban at gmail.com
Tue Jan 6 16:04:54 CET 2015
I actually selected this range based on Arabic keyboards. If you look in
the unicode charts there are probably hundreds of such diacritics, most of
which I haven't even heard of :)
Some of them, I guess, are archaic. Others are used only in holy scriptures
The Hamza on the other hand is so common it's actually not a diacritic on
keyboards, instead you find (Alef with Hamza above) and (Alef with Hamza
below) but it's actually a single character. You can't, say, delete the
Hamza and leave the Alef.
There is also another range much like the one I specified in the patch,
which is specified in the "Arabic Presentation Forms-B" unicode chart
(FE70–FEFF), it's redundant, and I haven't encountered any of its
characters so far. And there it says:
"Preferred characters are found in the Arabic block 0600 -
06FF. Some of these characters are used for Arabic
mathematics where contextual shape variations are
It's actually rather confusing.
The range specified in the patch seems to handle all subtitle files I find
on the Internet.
On Tue, Jan 6, 2015 at 3:30 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On 06 Jan, Salah-Eddin Shaban wrote :
> > +/* These are the most common Arabic diacritics */
> > +#define DIACRITIC( a ) ( a >= 0x064B && a <= 0x0653 )
> Why not include 0x0654 (Hamza above) ?
> With my kindest regards,
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel