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

From: Kirch Fritz <Friedrich.Kirch@it2media.de>
Date: Mon Jan 21 2008 - 02:36:19 PST

Dear xep-support,

 

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?

 

This was my FO-file:

 

<?xml version="1.0" encoding="US-ASCII"?>
<root xmlns="http://www.w3.org/1999/XSL/Format"
      font-family="Times"
      font-size="18pt">

    <layout-master-set>
        <simple-page-master master-name="frame"
             page-height="297mm"
             page-width="210mm"
             margin-top="15mm"
             margin-bottom="15mm"
             margin-left="15mm"
             margin-right="15mm">
            <region-body region-name="frame-body" />
        </simple-page-master>
    </layout-master-set>

    <page-sequence master-reference="frame">
        <flow flow-name="frame-body">
            <block end-indent="10cm">
                <block text-align-last="justify"
                       background-color="green"
                       color="white">
                    Hallo Hallo Hallo Hallo Hallo Hallo Hallo Hallo
                </block>
                <block text-align-last="justify"
                       linefeed-treatment="preserve"
                       background-color="red"
                       color="white">Hallo Hallo Hallo Hallo
                    Hallo Hallo Hallo Hallo
                </block>
            </block>
        </flow>
    </page-sequence>
</root>

 

This is how the resulting PDF looks alike:

 

  

Can you help me?

I use XEPWIN 4.10 with Windows XP

 

Fritz Kirch

**********************************************************************
Diese E-Mail wurde auf Viren ueberprueft.
mailsweeper@it2media.de
**********************************************************************

-------------------
(*) 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

image001.jpg
Received on Mon Jan 21 03:55:31 2008

This archive was generated by hypermail 2.1.8 : Mon Jan 21 2008 - 03:55:37 PST