> -----Original Message-----
> From: J.Pietschmann [mailto:[EMAIL PROTECTED]
>
> Andreas L. Delmelle wrote:
> >>----------SOME TEXT----------
> >
> > Hmmm... I don't think so. Guess this needs some improvement,
> although I do
> > have a hard time figuring out how you would describe this in FO.
>
> I'd try underlined whitespace in superscripts:
<snip/>
>
> It should work because the spaces are "marked" and shouldn't be
> stripped.
> The drawback, of course, is that spaces in the text must be converted
> to NBSP in order to avoid stretching them for justification.
> Unfortunately, FOP *does* use NBSP for justification (should be
> easy to fix) Well, space leaders should work.

Anyway, the spec doesn't seem to provide for a way to indicate that the text
in this case needs to be centered across a line (--or am I missing something
again?)

How 'easy' would it be to change the default expansion for leaders in the
case:

surrounding block has text-align and text-align-last both set to "justify"
and the block does not overflow a line

text-leader-text   yields the result that started this thread (the original
one)
leader-text-leader would yield the result asked for in this case

where currently, in the latter case, the leaders are not balanced (which BTW
hardly seems to become a 'wanted' result at some point, and since now this
one has been asked for --*and* is pretty neat :) )

It seems to work like:
first leader alignment is resolved WRT rest of current line area, which is
  the text
  a second leader resolved WRT rest of current line area, which is
    nothing, so aligned to end of current line area
    ...

Why _exactly_ does it use a default width here? Is it possible to test at
that point whether in the current line an fo:leader has already been added?
And if so, is it possible to adjust both leaders to expand accordingly?

Any hints?


Greetz,

Andreas


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

Reply via email to