I don't see a problem with having the userconfig.xml in the WAR. It's pretty read-only in there and it's only a one-liner in your code.
If you absolutely want to change the default font setup you should have a look at org.apache.fop.render.pdf.FontSetup.java. This is where the default fonts get registered for the PDF renderer. It uses precompiled fonts that are generated in the "codegen" task in build.xml. You could also build such Font classes using the same mechanism. That's how font support used to be years ago. :-) Anyway, I advise against it. On 03.03.2003 15:14:28 Enoch Root wrote: > It's not terribly necessary, I'd like just to know if > it's possible. And the reason, as I explained below, > I would like to avoid user configurable stuff (i.e. > userconfig.xml within WAR) as much as possible. > > --- Oleg Tkachenko <[EMAIL PROTECTED]> wrote: > > Enoch Root wrote: > > > > > I'd like to know if it's possible to replace > > default > > > fonts supplied with FOP so that I won't have to > > read > > > userconfig.xml in the servlet and supply fonts > > with my > > > application? Or is it possible to add just the > > > missing glyphs for a specific language? > > I don't think it's easy feasible. Why do you need > > it? Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
