[test] Add test for cluster merging
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 19 Jun 2015 00:15:33 +0000 (17:15 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 19 Jun 2015 00:15:33 +0000 (17:15 -0700)
commitb3a2f6afbac1956b65f29a17b9dc896e86135329
tree130de775dec24d828a9fe0482937c9edd3761cdb
parenta6446d44e6d04e1eeea994682e29f9cb6265f7f6
[test] Add test for cluster merging

Based on test from https://code.google.com/p/chromium/issues/detail?id=497578

Currently fails.  Basically, if there's a default_ignorable at the
start of text, and font has no space glyph, we remove the default_ignorable,
and that makes the first char in text to correspond to no cluster.

Fix coming.
test/api/test-shape.c