You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by euan m <eu...@yahoo.fr> on 2009/10/01 13:27:57 UTC

line height calculation with replaced 'external-graphics'

Hi there,

I have recently made an upgrade from FOP 0.20.5 to FOP 0.95.

I can see a lot of differencies for the same xsl-fo stylesheet interpretation, between the two versions of FOP.

The major problem that I'm facing now, is that the block height containing replaced elements, does not fit the replaced element height (ie the height of an 'external-graphic' element).

So the replaced 'external graphics' are overlapping the previous line text.

With the 0.20.5 version of FOP, this calculation was made automatically.

The compliance table of FOP versions, shows that 'Area Dimension Properties' and 'Block and Line-related Properties' have been improved since 0.20.5 version. 
http://xmlgraphics.apache.org/fop/compliance.html#fo-property-areadim-section
http://xmlgraphics.apache.org/fop/compliance.html#fo-property-blockandline-section

I can imagine that the block height calculation is now done through this properties, but I can't figure how.





      


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: line height calculation with replaced 'external-graphics'

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Indeed, FOP's compliance with the XSL-FO specification has been heavily
improved since FOP 0.20.5. That may require adjustments to your
stylesheets depending on what you did there. It's a bit difficult to
tell you exactly what you need to do if we don't know what your document
looks like and what exactly you want to accomplish. If you can post some
XSL-FO snippets we may be able to give you some hints.

On 01.10.2009 13:27:57 euan m wrote:
> Hi there,
> 
> I have recently made an upgrade from FOP 0.20.5 to FOP 0.95.
> 
> I can see a lot of differencies for the same xsl-fo stylesheet interpretation, between the two versions of FOP.
> 
> The major problem that I'm facing now, is that the block height containing replaced elements, does not fit the replaced element height (ie the height of an 'external-graphic' element).
> 
> So the replaced 'external graphics' are overlapping the previous line text.
> 
> With the 0.20.5 version of FOP, this calculation was made automatically.
> 
> The compliance table of FOP versions, shows that 'Area Dimension Properties' and 'Block and Line-related Properties' have been improved since 0.20.5 version. 
> http://xmlgraphics.apache.org/fop/compliance.html#fo-property-areadim-section
> http://xmlgraphics.apache.org/fop/compliance.html#fo-property-blockandline-section
> 
> I can imagine that the block height calculation is now done through this properties, but I can't figure how.
> 
> 



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org