On Fri, Jan 06, 2012 at 10:00:02AM -0700, Deron Kazmaier wrote:
> I've been where you are! I have a set of hb unicode functions I wrote up
> because I did not want to depend on glib or icu either for my test program. It
> is a handful of simple functions and a rather large file of data, and might 
> not
> work for you, but if you want I am happy to send them to you (about 210k
> uncompressed). I also wrote a small (rather ugly) program that parses the
> unicode data files to generate the tables it uses.
> 
> Also, it is possible to get simple strings of right-to-left to work, if you 
> use
> the functions to determine the primary script and direction of the run. No
> mixed rtl/ltr, but at least arabic/hebrew would work (It does for me at 
> least).

To get proper mixed rtl/ltr (AKA BiDi) you need to either implement
Unicode BiDi algorithm yourself (not for the faint of heart) or use e.g.
fribidi, to determine rtl/ltr runs and then do the shaping with
harfbuzz.

Regards,
 Khaled
_______________________________________________
HarfBuzz mailing list
HarfBuzz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to