Maxime Bégnis
Wed, 01 Sep 2010 08:37:12 -0700
Hi list,I am using an URIResolver with FOP to resolve the URL of external images. I found out that it tries to find fonts using the URIResolver before using the font base URL specified with fopFactory.getFontManager().setFontBaseURL("file:///path/to/fonts/")
Is there a way to make it use the URIResolver after(or not at all) the specified font base URL?
Here is the code I'm using :
fopFactory.getFontManager().setFontBaseURL("file:///path/to/fonts/");
fopFactory.setUserConfig(new File(FOP_USER_CFG));
OutputStream os = new
BufferedOutputStream(FileUtils.openOutputStream(result));
FOUserAgent uagent = fopFactory.newFOUserAgent(); uagent.setURIResolver(resolver); Fop fop = fopFactory.newFop(format, uagent, os); All this with FOP 1.0 Thanks a lot! Maxime Bégnis
<<attachment: maxime.vcf>>
--------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
fonts URL resolution Maxime Bégnis
- RE: fonts URL resolution Eric Douglas
- Re: fonts URL resolution Maxime Bégnis
- Re: fonts URL resolution Jeremias Maerki
- Re: fonts URL resolution Maxime Bégnis
- FOP Output Stream Eric Douglas
- Re: FOP Output Stream Julien Aymé
- Printing a Different LAST PAGE Steffanina, Jeff
- AW: Printing a Different LAST PAGE Georg Datterl
- RE: Printing a Different LAST PAGE Eric Douglas
- RE: FOP Output Stream Eric Douglas