Re: [xep-support] XSLFO: trouble with text-align-last="justify" and linefeed-treatment="preserve"

From: Michael Sulyaev <>
Date: Mon Jan 21 2008 - 03:45:01 PST

Kirch Fritz wrote:
> why are *ALL* lines of a <fo:block text-align-last=”justify”
> linefeed-treatment=”preserve”> justified?
> Is this a misunderstanding of the term “text-align-last” by myself or is
> this a bug of the Renderer?

Hello Fritz,

The Recommendation ( says
that text-align-last "Specifies the alignment of the last line-area
child of the last block-area generated and returned by the formatting
object, and to any line-area generated by the formatting object whose
following sibling is a block-area that is not a line-area, and any lines
in the block ending in U+000A.", and here we have the last case, for the
"refinement process" preserves linefeed characters because of
linefeed-treatment="preserve", and it happens before applying alignment.

Best regards,
Michael Sulyaev
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Mon Jan 21 04:14:58 2008

This archive was generated by hypermail 2.1.8 : Mon Jan 21 2008 - 04:14:59 PST