this.aci.first();
this.vertical = (aci.getAttribute(WRITING_MODE) == WRITING_MODE_TTB);
this.textPath = (TextPath) aci.getAttribute
(GVTAttributedCharacterIterator.TextAttribute.TEXTPATH);
AltGlyphHandler altGlyphHandler
= (AltGlyphHandler)this.aci.getAttribute
(GVTAttributedCharacterIterator.TextAttribute.ALT_GLYPH_HANDLER);
if (altGlyphHandler != null) {
// this must be an altGlyph text element, try and create
// the alternate glyphs
this.gv = altGlyphHandler.createGlyphVector
(frc, this.font.getSize(), this.aci);
}
if (this.gv == null) {
// either not an altGlyph or the altGlyphHandler failed to
// create a glyph vector