}
private void configure(PDFDocumentGraphics2D g2d, Configuration cfg)
throws ConfigurationException {
PDFDocumentGraphics2DConfigurator configurator = new PDFDocumentGraphics2DConfigurator();
boolean useComplexScriptFeatures = false;
configurator.configure(g2d, cfg, useComplexScriptFeatures);
}