u.p( "big error in getFont(). Got a node that is neither txt nor element" ); return null;
*/ u.p("here"); u.p("big error in getFont(). Got a node that is neither txt nor element" ); u.p("probably returning a bad font!");  Font f = c.getGraphics().getFont();  return f;
    public static Font getFont( Context c, Node e ) {        //u.p("testing node: " + e);        //Font f = c.getGraphics().getFont();        // if plain text then get the styling from the parent node        if ( e.getNodeType() == e.TEXT_NODE ) {            //u.p("it's a node");            Element el = (Element)e.getParentNode();            return getElementFont( c, el );        }        if ( e.getNodeType() == e.ELEMENT_NODE ) {            Element el = (Element)e;            return getElementFont( c, el );        }        u.p( "big error in getFont(). Got a node that is neither txt nor element" );        return null;    }