93e9c9f71e7cb418287a0acc8d188e385ba11e43 |
|
16-Mar-2017 |
Roozbeh Pournader <roozbeh@google.com> |
Update emoji grapheme breaking rules The rules are updated to the latest UAX #29, with tailorings based on the font in use: we can now use the clustering information calculated by Layout, so we will only disallow a grapheme break if an emoji ligature is actually formed. Test: Unit tests have been updated and pass. Bug: 30917298 Bug: 34211654 Change-Id: Idc0ef9f1f4f45dc45a50ed69e45c43ebfaea0306
/frameworks/minikin/tests/unittest/GraphemeBreakTests.cpp
|
b01028d1d7bc3906ef71c72ad985919f79304b5e |
|
14-Mar-2017 |
Roozbeh Pournader <roozbeh@google.com> |
Break grapheme clusters after viramas if they end a cluster Previously, we stayed on the conservative side and disallowed any grapheme breaks (and thus cursoring) where a virama was followed by a letter, since we did not know if the virama would be forming a cluster with the letter or not. This created problems with Indic languages with infrequent conjuncts, such as Tamil. Now we use the information in calculated advances to find if a cluster is formed. If there is no cluster, we break the grapheme and allow cursoring after the virama. Test: Unit tests added to GraphemeBreakTests and MeasurementTests. Test: Also manually tested Tamil sequences. Bug: 35721792 Change-Id: Ib159edb94b3ad6f693f0d3dad016b332b2cef447
/frameworks/minikin/tests/unittest/GraphemeBreakTests.cpp
|
e05034f356a4a1e6ad0e7b57a1992e87304f24a7 |
|
02-Feb-2017 |
Seigo Nonaka <nona@google.com> |
Introduce unittests for flag sequence. The Flag sequence is well handled by latest ICU. Just add unit tests for catching regression in future. Test: ran minikin_tests Change-Id: I78d5461de8ff4d002ca06fb5bb81fcd7bc45d95e
/frameworks/minikin/tests/unittest/GraphemeBreakTests.cpp
|
1946f48e84fd67943dd2d09b3fee94028fbfe762 |
|
30-Jun-2016 |
Seigo Nonaka <nona@google.com> |
Treat U+2695, U+2640, U+2642 as emoji characters. Bug: 29885295 Change-Id: I1bf191a46d05e7099265d863bae0523c50817d0b
/frameworks/minikin/tests/unittest/GraphemeBreakTests.cpp
|
14e2d136aaef271ba131f917cf5f27baa31ae5ad |
|
09-Jun-2016 |
Seigo Nonaka <nona@google.com> |
Always use minikin namespace. Here is a new policy of the namespace of minikin. - All components should be in minikin namespace. - All tests are also in minikin namespace and no anonymous namespace. Bug: 29233740 Change-Id: I71a8a35049bb8d624f7a78797231e90fed1e2b8c
/frameworks/minikin/tests/unittest/GraphemeBreakTests.cpp
|
c38b249ef7ed969fa8f8cf3c98331353a90ba9f2 |
|
03-Jun-2016 |
Seigo Nonaka <nona@google.com> |
Reconstruct the directory structure of minikin tests. To add perftests and reuse some utility classes, reconstruct test directory structure. - Move unit tests from minikin/tests to minikin/tests/unittests - Extract utilitiy classes to minikin/tests/utils which will be used by perftests eventually. Change-Id: I5026b177934e72ae67d362ee888302037da2f808
/frameworks/minikin/tests/unittest/GraphemeBreakTests.cpp
|