Hello,

when a font is not found I just get logging but the exception is swallowed.

The output page is completely empty in this case but there is no way
of knowing this.

Is is possible to get an exception from Apache FOP in this case.

Greetings,

Mike

PS: here is the logging I get when a font is not found

14:22:18,389 INFO  [FopFactory] base set to:
file:/opt/jboss/server/default/deploy/webapp.war/fonts/
14:22:18,389 INFO  [FOP] Target resolution set to: 72.0dpi (px2mm=0.35277778)
14:22:18,499 WARN  [TableContentLayoutManager] The contents of row 1
are taller than they should be (there is a block-progression-dimension
or height constraint on the indicated row). Due to its contents the
row grows to 90184 millipoints, but the row shouldn't get any taller
than MinOptMax[min=opt=max=28346] millipoints. (fo:table-row, "Falls
unzustellbar, bitte zurück an Absender")
14:22:18,599 WARN  [FOTreeBuilder] Mismatch: page-sequence
(http://www.w3.org/1999/XSL/Format) vs. root
(http://www.w3.org/1999/XSL/Format)
14:22:18,599 WARN  [TableContentLayoutManager] The contents of row 1
are taller than they should be (there is a block-progression-dimension
or height constraint on the indicated row). Due to its contents the
row grows to 90184 millipoints, but the row shouldn't get any taller
than MinOptMax[min=opt=max=28346] millipoints. (fo:table-row, "Falls
unzustellbar, bitte zurück an Absender")
14:22:19,891 ERROR [FOTreeBuilder]
javax.xml.transform.TransformerException: java.lang.RuntimeException:
Cannot load font: failed to create Source from metrics file ocrb.xml
14:22:19,891 ERROR [STDERR] System-ID unbekannt; Zeilennummer12;
Spaltennummer12; java.lang.RuntimeException: Cannot load font: failed
to create Source from metrics file ocrb.xml

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to