On 05.06.2006 11:12:22 Raphael Parree wrote:
> Thanks yes I know the reason for the error, it is just that I didn't had so
> many with the 0.20.5 release. Probably has to do with the fact that 0.92 is
> more strict. Also many of my indentations have changed, and text seems to be
> more compressed.
> A few changes I see so far in the produced PDF:
> -Indentations (start-indent) is much larger. Is this because the
> start-indent from parent blocks are accumulated now?

0.20.5 had an awful compliance level in this area. The new codebase is a
100% compliant implementation for start-indent and friends. start-indent
can accumulate if you cross reference-area boundaries (block-containers
or tables in between. That is due to indent inheritance which is
described in detail in: http://wiki.apache.org/xmlgraphics-fop/IndentInheritance

> -space-before seems to be ignored? 

No, no. 0.20.5 always behaved as if space-before.conditionality="retain"
were specified. The new codebase does full space resolution (XSL 1.0,
4.3) except in footnote areas. That's what you're seeing. Just set
space-before.conditionality="retain" and your spaces will miraculously
appear again. :-)

> -Some (all?) images seem to be bigger than before (SVG, I use the
> external-graphic element default)

Hmm, depends on your SVGs. If they have absolute width and height (not
specified in pixels) attributes and a viewbox (which is preferred in the
first place), they will be the same as 0.20.5 or even better. Try
setting <source-resolution>96</source-resolution> (default is 72) in the
user configuration file or use FopFactory.setSourceResolution(96). This
changes the way the size of images only made up by a number of pixels
are determined. Most SVG editors seem to use 96dpi, but that's not a
hard value. Therefore, it is best practice to specify the size of SVG
images in centimeters or inches or whatever.

> (-Bookmarks don't work (I saw the note on the website))

Where? XSL 1.1 bookmarks are fully implemented for PDF output. You
simple have to change from fox:outline to XSL 1.1 bookmarks.

See: http://xmlgraphics.apache.org/fop/0.92/upgrading.html

> For the rest it looks promising. 
<snip/>

Jeremias Maerki


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

Reply via email to