Unfortunately, Batik and FOP use different infrastructure to handle fonts. Batik heavily relies on what AWT/Java2D provides in terms of fonts. FOP, on the other hand, has its own font subsystem.
For FOP 0.95 we've invested quite some time to make font auto-detection in FOP provide the same fonts as AWT/Java2D provides them. But the other way around is much difficult and would require extensive changes in Batik, I think. I suggest you investigate possibilities to change the font-families from "serif" or "sans" to other font-families before running the document through FOP. HTH On 15.09.2008 22:14:00 Ryan Lortie wrote: > Hi Again > > > I'm currently using a FOP config file to customise font settings for > rendering my document. I'm specifying alternate fonts to use for all of > the serif, sans, monospace and Symbol font names. > > My document also includes SVG content (embedded inline in the FO input > file). The SVG contains <text> tags. > > The problem is that the font configuration is not applying to the text > contained within the SVG files. I understand that Batik is used to > render the SVG parts and I guess it's not getting its configuration from > FOP properly. > > Is there some way I can have FOP forward this information to Batik? > > Cheers Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
