g2d.convertToAbsoluteLength(fontSize));
fontReference = registerPageFont(pageFonts, internalFontName, fontSize);
graphicsObj.setCharacterSet(fontReference);
// add the character string
graphicsObj.addString(str, Math.round(x), Math.round(y));
} else {
//Inside Batik's SVG filter operations, you won't get an AFPGraphics2D
g.drawString(str, x, y);
}
}