xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: Working on overconstrained geometry
Date Thu, 01 Dec 2005 19:26:28 GMT
Hmm, but the 0pt is not explicit, it is implicit, derived from
calculations. And what is "auto" in this case?

Anyway, to provide the user with the means to detect problems in his
stylesheet we'd need much more code that detects overflows, for example
if a word doesn't fit in the available space, nothing happens currently.
The word is simply painted beyond the available space.

On 01.12.2005 19:11:07 Andreas L Delmelle wrote:
> On Dec 1, 2005, at 18:13, Jeremias Maerki wrote:
> Hi,
> <snip />
> > Now, considering a content IPD of "0pt". What shall we do with it? I'm
> > currently letting it through. This produces block areas with very  
> > large
> > BPD due to the many breaks, i.e. each break is chosen as concrete  
> > break.
> > Text is painted outside the content rectangle. I know such a situation
> > is almost certainly a bug in the stylesheet and this situation  
> > somewhat
> > esotheric but still... I'm not sure what to do. The other idea is to
> > skip the FO if the available IPD for its contents is 0pt.
> How about interpreting an explicit "0pt" as "auto"? The result will  
> still look acceptable in most cases. Combined with a warning that  
> this fallback is used, this would enable the user to locate the  
> problem. If the fallback doesn't bug him, but he wants FOP to stop  
> complaining, he will still know what to look for in his XSL-FO source.
> >
> > If anyone has some cool ideas, I'd be grateful,...
> Something like the above? :-)

Jeremias Maerki

View raw message