Change buffer default properties to invalid
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 15 Apr 2011 23:26:24 +0000 (19:26 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 15 Apr 2011 23:26:24 +0000 (19:26 -0400)
commitc0af193c8e25c4f11d23b8893e9ce1c2d2615bb2
tree5bf7375b806df0892affc1b04ff4feb9b4aac349
parent00bec2c969555e76c3f84650a1d3c45308e585ad
Change buffer default properties to invalid

This includes HB_DIRECTION_INVALID and HB_SCRIPT_INVALID.

The INVALID will cause a "guess whatever from the text" in hb_shape().
While it's not ideal, it works better than the previous defaults at
least (HB_DIRECTION_LTR and HB_SCRIPT_COMMON).
src/hb-buffer-private.hh
src/hb-buffer.cc
src/hb-view.c
test/test-buffer.c