Because I can't type right, I produce a xsl:fo file within a font-size="0pt" argument for a fo:block element. This make no sence, but FOP doesn't output any warning or error message like "illegal font size". The result was a broken PDF file (an unrecognized token 'NaN' was found). This is not really a bug, but IMHO it would be a nice feature to have such warning/error message.
Of course, absolutely--for our next version I expect us to have a thorough warning & error feedback system with easy-to-understand messages of "oddities" found while processing the FO stream. (I don't think we can get to this for 0.20.x though.) I'll keep this bug open for the *specific* issue you're mentioning (font-size warning), hopefully we'll take care of this along with several others in the next release. Thanks, Glen
IMHO, this is the correct behaviour. as a work around, font-size="0pt" (and font-height="0pt", witch default to 120% * {font-height}) is used to avoid vertical margins to an image alone in a fo:block. This bug should be resolved as INVALID WDYT?
Agreed, and anyway the PDF produced by FOP 0.94 is now valid. Vincent