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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.