Hello,

I use FOP to convert fo files to pdf. The fo files are produced by 
xsltproc and the DocBook XSL stylesheets. To the best of my 
knowledge, FOP produces output that is correct somewhere in the high
90 percent range. Thank you to the developers.

I am investigating some FOP error messages, starting with this one:

*************
[ERROR] Error in content-width property value 'scale-to-fit': 
org.apache.fop.fo.expr.PropertyException: No conversion defined
*************

How would I define a "conversion" to make FOP happy? The error message
is produced when FOP's processing reaches the page on which this code
resides in the .fo file produced by xsltproc:

**************
<fo:block text-align="center">
  <fo:external-graphic src="graphics/CroppedDecisionObject.tif"
width="6.5in" height="auto" content-width="scale-to-fit"
content-height="auto" text-align="center"/>
</fo:block>
**************

From the original XML file, here is the relevant code:

**************
<imagedata width="6.5in" align ="center"
   fileref="graphics/CroppedDecisionObject.tif"
   format="TIFF"/>
</imageobject>
**************

The original XML shows no "scale-to-fit" value being passed to a
content-width attribute.

Is there any reason to believe that FOP is in error? Unless there is
some reason to believe that FOP is in error, perhaps I should submit
a bug report to the maintainer of the DocBook XSL stylesheets
claiming that the stylesheets erroneously inject
"content-width='scale-to-fit'".

Just checking. If I'm confused, please shed some light.

Thanks,

Steve Whitlatch

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

Reply via email to