Chris Bowditch a écrit :

The second fo:block does not begin a reference area, so space conditionality isn't taken into consideration. For both spaces, precedence is not specified so the default value of 0 is used (§ 7.10.5 & 7.10.6). The third rule of § 4.3.1 states that between the two spaces of the same precedence, the one that has the highest (optimum) value wins; here the space-after of the first block.


Well the current implementation doesn't work like that. Both spaces are included to give 20pt of space between the two paragraphs.

Then either the implementation is broken (i.e. the spec was misunderstood), or this is a not yet implemented feature. No flame here, just for clarity.



I'm not an expert in the details of the spec, but isnt the precendence ignored unless conditionality="discard"?

No, in fact both notions are orthogonal: conditionality only deals with space beginning a reference-area, precedence deals with priorities between several successive spaces. They both work independently.



Yes I do agree, with the details you describe. But I wasn't trying to drill into detail, I was just saying it's not quite right yet. So my point still stands: there is some work still required to get this working 100%.


That's fine. I replied because I thought this could help understanding the process. We agree that it is yet WIP. I wish I could do something in this area, as I find this functionality very powerful, but I'm currently concentrated on FOrayFont.

Vincent

Reply via email to