curArea.addTrait(Trait.FONT_NAME, font.getFontName());
curArea.addTrait(Trait.FONT_SIZE, new Integer(font.getFontSize()));
curArea.addTrait(Trait.COLOR, fobj.getColor());
// TODO: may need some special handling for fo:character
alignmentContext = new AlignmentContext(font
, font.getFontSize()
, fobj.getAlignmentAdjust()
, fobj.getAlignmentBaseline()
, fobj.getBaselineShift()
, fobj.getDominantBaseline()