private int fontStyle(XMLStreamReader xmlReader) throws ParsingException {
		String style = xmlReader.getAttributeValue(null, STYLE_ATTR);
		if (style == null) {
			return FontHandle.PLAIN;
		} else if ("plain".equalsIgnoreCase(style)) {
			return FontHandle.PLAIN;
		} else if ("italic".equalsIgnoreCase(style)) {
			return FontHandle.ITALIC;
		} else if ("bold".equalsIgnoreCase(style)) {
			return FontHandle.BOLD;
		}
		
		throw new ParsingException("invalid font style " + style);
	}