- /* Some Indic characters result in more than 1 glyph. */
- WORD glyphs[1], clusters[1];
- SCRIPT_VISATTR attrs[1];
+ /* Surrogates seem to need 2 here, even though only one glyph is
+ returned. Indic characters can also produce 2 or more glyphs for
+ a single code point, but they need to use uniscribe_shape
+ above for correct display. */
+ WORD glyphs[2], clusters[2];
+ SCRIPT_VISATTR attrs[2];