Font font = new Font(attrs);
// get the path
URIResolver ur;
ur = new URIResolver((SVGDocument)element.getOwnerDocument(),
ctx.getDocumentLoader());
String uriString = XLinkSupport.getXLinkHref(element);
Shape path = null;
try {
Node n = ur.getNode(uriString);
if (n.getOwnerDocument() == null) {
throw new Error("Can't use documents");
}
Element elt = (Element)n;
boolean local =