commit | f62034d89611fbd3e1d41413847241757acd0c10 | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Mon Jun 25 16:05:57 2012 -0700 |
committer | Raph Levien <raph@google.com> | Tue Jun 26 08:59:17 2012 -0700 |
tree | 731d7a1f4f4de46d6680622bff4dea3be1a66ef0 | |
parent | 6212a4f2ed2a5921de08b527cd1b25e1d155e56b [diff] |
Initialize shaper offset array. Needed for bug 5443796. Harfbuzz apparently requires the offset array to be initialized to zero, otherwise it can report corrupt glyph positions. This change also contains a small amount of refactoring to avoid code duplication. Change-Id: I2553974f40bc8e0549876c7d31243960ca92a8a2