if (LOG.isDebugEnabled()) {
LOG.debug("buffer = '{}'", buffer);
}
try {
Driver driver = new Driver();
driver.setLogger(new Slf4jLogger(LOG));
driver.setRenderer(Driver.RENDER_PDF);
driver.setErrorDump(true);
// driver.setInputSource(new InputSource(new FileInputStream("C:/simple.fo")));
// driver.setInputSource(new InputSource(new StringReader(fo)));