[HarfBuzz] hb-unicode-encode / decode / prettyname
Ariel Malka
ariel at chronotext.org
Mon Jan 6 03:56:26 PST 2014
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...
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20140106/a194c91c/attachment.html>
More information about the HarfBuzz
mailing list