line-stacking-strategy "max-height" vs "line-height"

2007-01-11 Thread Manuel Mall
I am trying to understand the differences between the two line-stacking-strategies "max-height" and "line-height". As usual the spec is hard to read / understand. My understanding of the difference between the two strategies seems to boil down to: max-height treats the half-leading as space-bef

Re: FOP Memory issues (fwd from fop-users)

2007-01-11 Thread Andreas L Delmelle
On Jan 11, 2007, at 22:31, J.Pietschmann wrote: Quite some time ago I did some statistics on number of children of FOs, using the FOP examples and FO files from bug reports. The breakdown was roughly the following ~50% no children, mostly FOText nodes and FOs like region-body and page-numbe

Re: FOP Memory issues (fwd from fop-users)

2007-01-11 Thread J.Pietschmann
Andreas L Delmelle wrote: Which brings us to another important piece of information that would be interesting to know: how big are each of those instances? Quite some time ago I did some statistics on number of children of FOs, using the FOP examples and FO files from bug reports. The breakdown

Re: Loggers

2007-01-11 Thread Andreas L Delmelle
On Jan 11, 2007, at 19:51, [EMAIL PROTECTED] wrote: Andreas L Delmelle writes: log is a protected static, so if the class resides in the same package, then you can use direct member access. Currently, in some places, the properties seem to be routing the message to the FO's logger, instead of u

Re: CommonBorderPaddingBackground

2007-01-11 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: Is there any good reason why CommonBorderPaddingBackground and BorderInfo are Cloneable yet don't implement a clone() method? They were cloned in the more ancient parts of the code based, but this seemed to have been removed already some time ago. Thanks for bringing th

Re: Unicode soft hyphen and hyphenation

2007-01-11 Thread J.Pietschmann
Manuel Mall wrote: 2) If hyphenation is enabled shall a word containing a SHY still undergo hyphenation? That's an interesting question. The problem are languages which use compound words and agglutination. Last time I looked, for the English language words containing shy were not automatically

Re: Unicode soft hyphen and hyphenation

2007-01-11 Thread Jeremias Maerki
Good to see that happen! Here's my take: On 11.01.2007 13:24:16 Manuel Mall wrote: > Hi, > > when I implemented the UAX#14 line breaking I noticed that fop doesn't > currently support the Unicode soft hyphen (SHY). > > I am thinking of adding support for this character to the line breaking > b

Re: Loggers

2007-01-11 Thread richardw
Andreas L Delmelle writes: > log is a protected static, so if the class resides in the same > package, then you can use direct member access. Currently, in some > places, the properties seem to be routing the message to the FO's > logger, instead of using Property.log directly... Or even

Re: CommonBorderPaddingBackground

2007-01-11 Thread Andreas L Delmelle
On Jan 11, 2007, at 13:41, [EMAIL PROTECTED] wrote: Is there any good reason why CommonBorderPaddingBackground and BorderInfo are Cloneable yet don't implement a clone() method? Wait, let me see... Nope, none at all, it seems. If my method is correct, that is... I tried adding an override th

Re: Loggers

2007-01-11 Thread Andreas L Delmelle
On Jan 11, 2007, at 18:31, Andreas L Delmelle wrote: ... use an instance method to access a protected static member of the superclass. That's a good one! :-) And what about: if (log.isDebugEnabled()) { getLogger().debug("..."); } unless we were thinking about tying the settings for the sta

Re: Loggers

2007-01-11 Thread Andreas L Delmelle
On Jan 11, 2007, at 13:41, [EMAIL PROTECTED] wrote: In FONode, it say: //TODO Remove getLogger() method! Yet everywhere around the code base it says foo.getLogger(), in particular for FObj instances. What is the preferred way to aquire a logger instance? log is a protected static, so if

Re: FOP Memory issues (fwd from fop-users)

2007-01-11 Thread Andreas L Delmelle
On Jan 11, 2007, at 10:02, [EMAIL PROTECTED] wrote: Andreas L Delmelle writes: I'd say the 80K ArrayLists are simply the childNodes lists of all those FObj (TableCells and Blocks), and that those are, in most cases, lists of only one element. This is correct - for most instances, Which brin

CommonBorderPaddingBackground

2007-01-11 Thread richardw
Is there any good reason why CommonBorderPaddingBackground and BorderInfo are Cloneable yet don't implement a clone() method? Am I missing something or is this just to confuse any poor maintainers who happen to come along? Regards, Richard

Loggers

2007-01-11 Thread richardw
In FONode, it say: //TODO Remove getLogger() method! Yet everywhere around the code base it says foo.getLogger(), in particular for FObj instances. What is the preferred way to aquire a logger instance? Richard

Unicode soft hyphen and hyphenation

2007-01-11 Thread Manuel Mall
Hi, when I implemented the UAX#14 line breaking I noticed that fop doesn't currently support the Unicode soft hyphen (SHY). I am thinking of adding support for this character to the line breaking but am unsure of its correct behaviour in an XSL:FO environment. So I have few questions related t

Re: Wrong link to source download site

2007-01-11 Thread Christian Geisert
Vincent Hennebert schrieb: > Jeremias Maerki a écrit : > >>Website redeployed. I guess I need to switch back to SVN deployment so >>everyone can do it. Will do ASAP. > > But how is it done currently? When I change a file in the xdocs > directory of the trunk, it eventually appears on the website.

Re: FOP Memory issues (fwd from fop-users)

2007-01-11 Thread richardw
Andreas L Delmelle writes: > I'd say the 80K ArrayLists are simply the childNodes lists of all > those FObj (TableCells and Blocks), and that those are, in most > cases, lists of only one element. This is correct - for most instances, Richard

Re: Wrong link to source download site

2007-01-11 Thread Vincent Hennebert
The Web Maestro a écrit : > On 1/10/07, Yannick Valot wrote: >> Trouble is, http://www.apache.org/dyn/closer.cgi/xml/fop >> eventually leads you to the old xml/fop directories, which are still >> available (maybe to keep old links working), contain lots of old data, >> fop-current files which certa

Re: Wrong link to source download site

2007-01-11 Thread Vincent Hennebert
Jeremias Maerki a écrit : > Website redeployed. I guess I need to switch back to SVN deployment so > everyone can do it. Will do ASAP. But how is it done currently? When I change a file in the xdocs directory of the trunk, it eventually appears on the website. So I thought there were some automati