RE: [XSL-FO] What are the good parameters in order to scale an image
- At 10:55 10/05/2001, you wrote:
> > -----Original Message-----Only one page describing the project :
> > From: Pierre Attar [mailto:patt@...]
> >  http://www.mutu-xml.org/index.html
>...is there an English version?
>To unsubscribe from this group, send an email to:
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
- Pierre Attar wrote:
> I'm using FOP to format documents containing images fot the non profitI never managed to crash FOP -- at least, this way! On the other hand, I
> french web site "mutu-xml" . It seems that there is a bug in the 0.18
> version because if the image is larger thant the maximum page boxes, fop
> start an infinite page loop, crashing as soon as it becomes out of memory.
> two questions :
> - 1 - Theorically, I don't understand how is it possible to do using
> scaling, content-width, content-height attributes of the external-graphic
> FO element ;
> - 2 - Pratically, I've tried different thing within FOP and nothing works.
> Does it means that it is not yet implemented ? Does it means bug ? Or
> simply does it goes to the first question that is not solved ? If someone
> have done this stuff, is it possible to get some explained samples ?
never tried using a graphic bigger than the page size (is that what you
meant by "maximum page boxes"?).
I don't have FOP here at the day job, so I can't test this myself, but
you might try using the overflow trait on your external-graphic FO. You
can specify to clip a too-large image using overflow="hidden", while
overflow="scroll" means tge user agent (UA) is to provide scroll bars as
needed for viewing the overflow portions of the image. The trait is
supposed to apply to visual media only. (If rendering to print,
overflow="scroll" wouldn't seem to make much sense.) Might be worth a try.
John E. Simpson | "I accidentally installed the deer
http://www.flixml.org | whistles on my car backwards. Now
XML Q&A: www.xml.com | everywhere I go, I'm chased by deer."
| (Steven Wright)
>I never managed to crash FOP -- at least, this way! On the other hand, IYes, it is exactely what I mean. I use the boxe wording just because the
>never tried using a graphic bigger than the page size (is that what you
>meant by "maximum page boxes"?).
graphic is larger than page height and width minus all margins.
My problem is that I'm using FOP for PDF rendering. Therefore, scrolling
features will not be usefull.