Well, I dont have a config.xml and I want to tell FOP explicitly how to find/use fonts. Yes, one thought I had was to programatically construct a config.xml file and then use that to build the FOPFactory. That just seemed icky, and was asking whether there was a way to do this via API calls; ala: fopFactory.addFontConfiguration(...)
Sounds like not. On Monday 22 October 2007 11:46:53 am Andreas L Delmelle wrote: > On Oct 22, 2007, at 18:13, Steve Ebersole wrote: > > Hi Steve > > > Following http://xmlgraphics.apache.org/fop/0.94/fonts.html, > > http://xmlgraphics.apache.org/fop/0.94/fonts.html#register > tells you how to make sure FOP recognizes/picks up your custom > fonts: by adding the necessary entries in your config.xml > > > http://xmlgraphics.apache.org/fop/0.94/configuration.html and > > The above link explains how to make sure FOP uses your custom > config.xml (from the command-line; for embedded use, the link below > is more relevant) > > > http://xmlgraphics.apache.org/fop/0.94/embedding.html#config-internal, > > http://xmlgraphics.apache.org/fop/0.94/embedding.html#config-external > tells you how to make FOP use your config.xml programmatically > > I think everything you need is there. If not, can you be a bit more > precise? > It's just that I'm not sure much can be added to what is available on > the website... If you feel it is still a bit too unclear, any > suggestions to make it easier to use are welcome. > > > Cheers > > Andreas > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
