Setting renderer merge-fonts from code

Mark Gibson <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <DM5PR04MB05380657E1EB74FC9D418FD8DD719@DM5PR04MB0538.namprd04.prod.outlook.com>
Hi.

I'm sure I'm missing something simple, but I'm looking to set the "merge-fonts" configuration via code on the FOUserAgent.  And I'm failing.

I've found how to read it, but there's no setters:

            PDFRendererConfig rcfg = (PDFRendererConfig)userAgent.getRendererConfig( "application/pdf", new PDFRendererConfig.PDFRendererConfigParser() );
            PDFRendererOptionsConfig rocfg = rcfg.getConfigOptions();
            rocfg.getMergeFontsEnabled();

Does anyone know the magic?

Thanks
Mark
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.