float height = h.getValue();
logger.debug("-> SVG Width: " + width + " Height: " + height);
SVGMatrix mat = svgGom.getCTM();
/*
logger.debug("mat: " + mat.toString());
logger.debug(mat.getA());
logger.debug(mat.getB());
logger.debug(mat.getC());
logger.debug(mat.getD());
logger.debug(mat.getE());
logger.debug(mat.getF());
SVGRect bbox = svgGom.getBBox();
logger.debug("BBOx: X:" + bbox.getX() + " Y:" + bbox.getY() + " Width:" + bbox.getWidth() + " Height:" + bbox.getHeight());
*/
//Hack, because if no width/height is specified default of 1.0
//is assumed by batik -> things may get scaled too small
if ( !(width == 1 && height == 1) ){
currentLocalTransformMatrix = new Matrix(mat.getA(), mat.getC(), 0, mat.getE(),
mat.getB(), mat.getD(), 0, mat.getF(),
0, 0, 1, 0,
0, 0, 0, 1
);
//logger.debug("Matrix: " + currentLocalTransformMatrix);
group.setLocalMatrix(currentLocalTransformMatrix);