Glen Mazza wrote:
If you replace "whitespace handling" with "replacing every occurrence of
the letter 'A' with 'B'", a similar idea, you can see what I'm getting
at--the fo:block should be able to clean itself up (if there is such a
property defined for the fo mandating that cleanup) prior to pr
J.Pietschmann wrote:
Hmmm...not that big a deal to me, but I would be inclined to keep the
whitespace removal out of the LayoutManagers, because it is fo:block
specific
I don't quite understand this argument. Handling space-before is also
fo:block specific. Where should this logic be put, then?
Glen Mazza wrote:
proper TR14 line breaking needs
a precious character LB property and a whitespace status
Darn, should be "previous".
I'm not sure what you're referring to here--the TR at
http://www.unicode.org/unicode/reports/tr14/, doesn't appear to mention
a "whitepace status" or LB "propert
Hello Joerg, welcome back.
J.Pietschmann wrote:
Glen Mazza wrote:
A further optimization might be to do all this before
the Block is even parsed into FOText and Inline
objects, as many spaces-only objects would end up not
even needing to be created.
This will not account for spaces to be remov
Glen Mazza wrote:
A further optimization might be to do all this before
the Block is even parsed into FOText and Inline
objects, as many spaces-only objects would end up not
even needing to be created.
This will not account for spaces to be removed around line
breaks.
My preferred solution is to co
On Tue, Apr 06, 2004 at 03:47:53PM -0700, Glen Mazza wrote:
> I'm not sure exactly what you mean--are you indicating
> it might be best to pull out the interators from
> FOText and flow.Inline and have everything done within
> flow.Block? That could work well.
Frankly, I do not mean much. It is j
I'm not sure exactly what you mean--are you indicating
it might be best to pull out the interators from
FOText and flow.Inline and have everything done within
flow.Block? That could work well.
A further optimization might be to do all this before
the Block is even parsed into FOText and Inline
ob
I should add that I have realized that the rules of whitespace
handling in the FO spec are quite complicated, and that it is unwise
to handle whitespace outside of the Block.handleWhiteSpace method.
Regards, Simon
--
Simon Pepping
home page: http://www.leverkruid.nl