[HarfBuzz] hb-unicode-encode / decode / prettyname

Khaled Hosny khaledhosny at eglug.org
Mon Jan 6 04:55:37 PST 2014


On Mon, Jan 06, 2014 at 01:56:26PM +0200, Ariel Malka wrote:
> Hi,
> 
> I hesitated wether or not to create a new thread (I hope this won't be
> considered as topic hijacking...)
> 
> Anyway, I'm currently working on script-itemization and I realize that
> these utilities are -- among other things -- tackling the issue.
> 
> I understand that everything in written in python, but I wonder if someone
> is aware of a solution relying solely on Harfbuzz for script-itemization in
> C++?
> 
> I'm currently relying on ICU (
> http://source.icu-project.org/repos/icu/icu/trunk/source/extra/scrptrun)
> and I wanted to make sure I'm not missing other options...

I think it is a good base (just if ICU make it public!), Pango seems to
be using a modified copy of it as well.

Regards,
Khaled

> 
> Thanks,
> Ariel
> 
> 
> On Thu, Jan 2, 2014 at 9:42 AM, Behdad Esfahbod <behdad at behdad.org> wrote:
> 
> > Hi,
> >
> > I figured may people may not know those small utilities, hence this post.
> >
> > In harfbuzz/test/shaping/ you find the following hb-unicode-* tools.  They
> > all
> > take arguments either from command-line, or read from standard input if no
> > arguments given.
> >
> > Sample:
> >
> > $ ./hb-unicode-encode 915 94d 930
> > क्र
> > $ ./hb-unicode-encode U+0915,U+094d,U+0930
> > क्र
> >
> > $ ./hb-unicode-decode क्र
> > U+0915,U+094D,U+0930
> >
> > $ echo क्र | ./hb-unicode-decode
> > U+0915,U+094D,U+0930
> >
> > $ ./hb-unicode-prettyname U+0915,U+094d,U+0930
> > KA + VIRAMA + RA
> >
> > $ ./hb-unicode-decode क्र | ./hb-unicode-prettyname
> > KA + VIRAMA + RA
> >
> >
> > HTH,
> > --
> > behdad
> > http://behdad.org/
> > _______________________________________________
> > HarfBuzz mailing list
> > HarfBuzz at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/harfbuzz
> >

> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz



More information about the HarfBuzz mailing list