c.getGraphics().drawString( "" + toLatin( box.list_count ).toLowerCase(), box.x - 15, box.y + box.height / 2 + 8 );
drawText(c,box,type);
    public static void paint( Context c, Box box ) {        String type = c.css.getStringProperty( box.node, "list-style-type" );        if ( type.equals( "none" ) ) {            return;        }        String image = c.css.getStringProperty( box.node, "list-style-image" );        Image img = null;        if ( !image.equals( "none" ) ) {            try {                //u.p("loading: " + image);                img = ImageUtil.loadImage( c, image );            } catch ( Exception ex ) {                u.p( ex );            }            //u.p("image = " + img);            if ( img != null ) {                int rad = 8;                int baseline = box.height;                c.getGraphics().drawImage( img, box.x - img.getWidth( null ) - 2, box.y + baseline / 2 - img.getHeight( null ) / 2 + 2, null );                return;            }        }        if ( type.equals( "disc" ) ) {            int rad = 8;// change this to use the glyph height            int baseline = box.height;// change this to use the real baseline            c.getGraphics().fillOval( box.x - rad - 2, box.y + baseline / 2 - rad / 2 + 2, rad, rad );            return;        }        if ( type.equals( "square" ) ) {            int rad = 8;// change this to use the glyph height            int baseline = box.height;// change this to use the real baseline            c.getGraphics().fillRect( box.x - rad - 2, box.y + baseline / 2 - rad / 2 + 2, rad, rad );            return;        }        if ( type.equals( "circle" ) ) {            int rad = 8;// change this to use the glyph height            int baseline = box.height;// change this to use the real baseline            c.getGraphics().drawOval( box.x - rad - 2, box.y + baseline / 2 - rad / 2 + 2, rad, rad );            return;        }        if ( type.equals( "lower-greek" ) ) {            type = "decimal";        }        if ( type.equals( "decimal-leading-zero" ) ) {            type = "decimal";        }        if ( type.equals( "decimal" ) ) {            c.getGraphics().drawString( "" + box.list_count, box.x - 15, box.y + box.height / 2 + 8 );            return;        }        if ( type.equals( "lower-latin" ) ) {            c.getGraphics().drawString( "" + toLatin( box.list_count ).toLowerCase(), box.x - 15, box.y + box.height / 2 + 8 );            return;        }        if ( type.equals( "upper-latin" ) ) {            c.getGraphics().drawString( "" + toLatin( box.list_count ).toUpperCase(), box.x - 15, box.y + box.height / 2 + 8 );            return;        }        if ( type.equals( "lower-roman" ) ) {            c.getGraphics().drawString( "" + toRoman( box.list_count ).toLowerCase(), box.x - 15, box.y + box.height / 2 + 8 );            return;        }        if ( type.equals( "upper-roman" ) ) {            c.getGraphics().drawString( "" + toRoman( box.list_count ).toUpperCase(), box.x - 15, box.y + box.height / 2 + 8 );            return;        }    }