private void configure(PDFDocumentGraphics2D g2d, Configuration cfg)
throws ConfigurationException {
PDFDocumentGraphics2DConfigurator configurator = new PDFDocumentGraphics2DConfigurator();
boolean useComplexScriptFeatures = false;
configurator.configure(g2d, cfg, useComplexScriptFeatures);
}
/**
* Creates a PDF file. The contents are painted using a Graphics2D implementation that
* generates an PDF file.