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

From: Michael Sulyaev <msulyaev@renderx.com>
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 (http://www.w3.org/TR/xsl11/#text-align-last) 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
http://www.renderx.net
http://www.renderx.com
mailto:support@renderx.com
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
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