RE: [docbook-apps] Experience with db5 and fop-9X

From
Mauritz Jeanson <>
Date
2006-06-23T09:37:31+00:00
ID
000501c696b1$79061f60$71ea1a51@D7MZ171J
Thread
RE: [docbook-apps] Experience with db5 and fop-9X
> -----Original Message-----
> From: Julian Onions 

> Image scaling seems to be  problem. With DB4/fop-0.20 something like
> <figure><title>Example</title>
>   <mediaobject><imageobject>
>      <imagedata fileref="EDA-2.png" format="PNG"/>
>   </imageobject></mediaobject>
> </figure>
> worked nicely. With big images they were scaled to fit into the page
> width. Smaller images just took the space they needed.
> With the new stuff, the above with a big image will either generate an
> exception as it can't fit it on the page, or else it will fit, but
> half of it will be off the edge of the page. I can fix this by putting
> width="100%"  as part of it, but I either need to do this on a case by
> case basis, or force everything to be full size. I miss the auto
> sizing!


This seems to be a long-standing issue:
http://issues.apache.org/bugzilla/show_bug.cgi?id=37136

I haven't investigated it very thoroughly, but FOP 0.9X apparently conforms
more strictly to the XSL specification than does 0.20.5.


> PDF bookmarks are back after getting the docbook-xsl-1.70.1 stuff.
> However the title page bookmark takes me to the part1 header, rather
> than the front page, which is a little odd.

Can you please provide a small sample document that demonstrates this?


> Floats still don't seem to work still. Any attempt to specify a float
> seems to make the whole floating thing vanish completely. I think this
> is a fop issue.

Yes, it is:
http://xmlgraphics.apache.org/fop/compliance.html#fo-object-float

/MJ