xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Pepping <spepp...@leverkruid.nl>
Subject Re: [Bug 29124] - New line breaking algorithm
Date Thu, 12 Aug 2004 20:36:53 GMT
On Thu, Aug 12, 2004 at 12:27:38PM +0200, Luca Furini wrote:
> The point is that the XSL recommendation states that the default
> word-spacing value is "normal", meaning "The normal inter-word space, as
> defined by the current font and/or the UserAgent", not zero.
> At the moment, the SpaceVal variable in the TextInfo object used by the TLM
> has
>      .getSpace().min == .getSpace().max == 0
> even if the word-spacing property was not set in the fo document.
> So, the right question is: how can the TLM see if the word-spacing property
> value is "normal"?

TextInfo derives that value from the value of the word-spacing

That must be an error in the property handling by FOP. In
FOPropertyMapping 0pt is used as the default value. Apparently
"normal" should be the default value. I am not sure how this can be
done for a space property. Something similar happens for length
properties, which can have the default value "auto". I think "normal"
should be a keyword. Apparently, the actual value can only be
calculated at layout time, when the font is known.


Simon Pepping
home page: http://www.leverkruid.nl

View raw message