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

Behdad Esfahbod behdad at behdad.org
Wed Jan 1 23:42:49 PST 2014


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/


More information about the HarfBuzz mailing list