Hi fopdevs, if you have time, consider this:
<fo:block text-align="justify"> TEST TEST TEST TEST TEST ..... ENOUGH TEXT TO FORMAT INTO MULTIPLE LINES .... TEST ENDS A. <fo:block> whatever </fo:block> TEST TEST TEST TEST TEST ..... ENOUGH TEXT TO FORMAT INTO MULTIPLE LINES .... TEST ENDS B. </fo:block> Now what would you expect: A: TEST TEST TEST TEST TEST ENDS A. whatever TEST TEST TEST TEST TEST ENDS B. OR B: (second line is justified) TEST TEST TEST TEST TEST ENDS A. whatever TEST TEST TEST TEST TEST ENDS B. Common sense would probably say A: But, 7.15.9 of the rec says: The last (or only) line of any block, and any lines in the block ending in U+000A, will be aligned in accordance with the "text-align-last" property value. If such lines are to be justified specify "text-align-last='justify'". In the example, line 2 is neither the last nor the only line of a block, and it's also not a line ending in U+000A, so it should be justified. Right? FOP 0.20.5 does A. Any opinions? BTW: you can ignore any whitespace/linefeed-treatement issues here (all set to default): the above example formats the same with FOP if you put all of it in a single line. Thanks, Arnd -- Arnd Beißner Cappelino Informationstechnologie GmbH