Ben Galbraith wrote:
My question is: how hard would it be to calculate line width (to figure
out wrapping issues) on my own using FOP's XML font metafiles (and
perhaps even FOP's own code)? I can hard-code line height values and
such, but without an algorithm to calculate line-wrapping, I can't do
this on my own.
If there are enough characters, on average, on on line,
and enough break possiblities (spaces between words),
for most fonts estimating the average line width as
1em*string-length(line) is good enough. With two columns
this should be feasible without all too ugly effects.
Or, should I consider writing a patch to FOP that supports
multi-columnar blocks based on the existing region-body multi-column code?
If you think it's fun...
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]