[util] Make clusters work with char offset instead of UTF-8 offset
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 22 Jan 2012 00:07:22 +0000 (19:07 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 22 Jan 2012 00:07:22 +0000 (19:07 -0500)
commitd5300241680844f5625f32792f7dd7181ed05f9b
tree485b10b0cabeb3ef0a99f99494ff36ebc8c89f1f
parent0f68f4a0b5ee78cbdb2a89a9a1a9125afe72ed2f
[util] Make clusters work with char offset instead of UTF-8 offset

This means the --features indices also refer to char position
instead of byte position now.  Same for cluster values reported
by hb-shape.

Will add an option for byte indices later.
util/options.cc
util/options.hh