private void assertSameGlyphs ( GlyphSequence gs1, GlyphSequence gs2 ) {
assertNotNull ( gs1 );
assertNotNull ( gs2 );
IntBuffer gb1 = gs1.getGlyphs();
IntBuffer gb2 = gs2.getGlyphs();
assertEquals ( "unequal glyph count", gb1.limit(), gb2.limit() );
for ( int i = 0; i < gb1.limit(); i++ ) {
int g1 = gb1.get(i);
int g2 = gb2.get(i);
assertEquals ( "unequal glyph code", g1, g2 );
}