Actually, there is but it's not obvious: http://xmlgraphics.apache.org/fop/latest/events.html lets you propagate these replacement events to aborting exceptions. One point of the events framework is to give more fine-grained control over certain conditions inside FOP.
Jeremias Maerki On 22.06.2012 15:58:45 Robert Meyer wrote: > > Hi, > > After reading the documentation and looking in the code, it would appear as > you say that there is currently no facility to provide the option to fail if > a font is not present. > > I would therefore recommend you log a new Fop issue on bugzilla [1] so that > should someone have time in the future, they can implement it. > > [1] https://issues.apache.org/bugzilla/ > > Best Regards, > > Robert Meyer > > From: christian.pes...@orange.fr > To: fop-users@xmlgraphics.apache.org > Subject: SubstituteFonts true/false propertie in fop config ? > Date: Fri, 22 Jun 2012 14:58:43 +0200 > > > > > > Hi, > > We use Fop on a workstation to design and view pdf document (after Fop > transform) > After that, documents are rendered on a production server. > Sometimes, the production server dont contain fonts necessary for theses > documents and Fop subtitute missing fonts. > > Maybe SubstituteFonts true/false propertie in fop config would be useful to > failed the fo2pdf transformation instead subtitute font ? > > > > > > > > > > Christian > Pestel > christian.pes...@orange.fr --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org