if (fontWeight.equals("bold")) styleFlags |= Font.BOLD;
int size = Integer.parseInt(fontSize);
ret.setValue(DrawAttr.FONT, new Font(fontFamily, styleFlags, size));
String alignStr = elt.getAttribute("text-anchor");
AttributeOption halign;
if (alignStr.equals("start")) {
halign = DrawAttr.ALIGN_LEFT;
} else if (alignStr.equals("end")) {
halign = DrawAttr.ALIGN_RIGHT;
} else {