Re: Problem embedding fonts in PDF
Stefan Radermacher <[email protected]>
| Newsgroups | gmane.text.xml.fop.user |
|---|---|
| Message-ID | <[email protected]> |
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