On 26.07.2016 17:26, Simon Steiner wrote: > What about: > > FopConfParser parser = new FopConfParser(configFile, currentDir); > FopFactoryBuilder fopFactoryBuilder = parser.getFopFactoryBuilder();
Thank you, that looks much better. I used the FopConfParser constructor that just takes the config File, and then got this error: "The Fontbox jar was not found in the classpath. This is required for OTF CFF ssupport." (sic) I added Fontbox 1.8.9 to my dependencies, and voila the font loads! Kind regards and thank you, Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org